On Wed, 26 Aug 2026 05:55:38 GMT, Shiv Shah <[email protected]> wrote:

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

This fixes the issue with the heap walk bailing when encountering a StackChunk, 
but what actually gets dumped into the hprof file when a StackChunk is 
encountered?

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

PR Comment: https://git.openjdk.org/jdk/pull/32525#issuecomment-5429993868

Reply via email to