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 pull request has now been integrated.

Changeset: 689b4a64
Author:    Shiv Shah <[email protected]>
Committer: Yasumasa Suenaga <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/689b4a64153056458dccf1529585c8665ea13132
Stats:     31 lines in 2 files changed: 29 ins; 1 del; 1 mod

8390689: TestHeapDumpForInvokeDynamic fails HPROF verification when LingeredApp 
runs on a virtual thread

Reviewed-by: cjplummer, ysuenaga

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

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

Reply via email to