> The SA sizes a stack chunk like any fixed size instance, the layout helper 
> only covers the header part, so the region walk steps into the copied stack 
> data, fails to parse it as an object and gives up on the rest of the region. 
> whatever lives after the chunk never makes it into the dump, that is what the 
> hprof verification failures were. the fix reads the chunk’s own size field 
> and computes the footprint the same way the vm does, header plus stack plus 
> the gc bitmap words. the heap dump test comes off the virtual problem list 
> since it passes now.
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Shiv Shah has updated the pull request incrementally with one additional commit 
since the last revision:

  Mirror the hotspot size helpers

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/32525/files
  - new: https://git.openjdk.org/jdk/pull/32525/files/62b97dfa..5d0a38ff

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32525&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32525&range=00-01

  Stats: 26 lines in 1 file changed: 19 ins; 5 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/32525.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32525/head:pull/32525

PR: https://git.openjdk.org/jdk/pull/32525

Reply via email to