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).

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

Commit messages:
 - Merge master
 - Shorten the comment
 - Size stack chunks from the chunk itself and unlist the heap dump test
 - Let apps run on the current thread and problem list the heap dump test for 
virtual
 - Restore blank lines
 - Merge branch 'master' into JDK-8241634
 - Merge remote-tracking branch 'upstream/master' into JDK-8241634
 - Merge branch 'master' into JDK-8241634
 - 8241634: Support execution of threads as virtual in LingeredApp

Changes: https://git.openjdk.org/jdk/pull/32525/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32525&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8390689
  Stats: 14 lines in 2 files changed: 12 ins; 1 del; 1 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