[lworld] RFR: 8341771: [lworld] Heap dump recognizing new flat fields formats
Frederic Parain
fparain at openjdk.org
Wed Nov 5 20:59:33 UTC 2025
On Fri, 24 Oct 2025 00:57:03 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> The fix re-implements flat object support in heap dumper.
> New approach does not require changes in .hprof format.
> Flat value objects are dumped as heap-allocated objects with generated ID.
> For heap-allocated objects the ID is their address (oop), they are always aligned.
> ID generator for flat objects uses unaligned values (so there is no conflicts with oops).
>
> HeapDump test was reimplemented (it was disabled for a long time)
> Changes in hprof test lib were reverted (they are not needed anymore)
>
> testing: tier1..4,hs-tier5-svc
test/lib/jdk/test/lib/hprof/model/JavaObject.java line 324:
> 322:
> 323: }
> 324: } catch (IOException exp) {
The indentation of the catch block seems off.
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1700#discussion_r2496130964
More information about the valhalla-dev
mailing list