RFR: 8306591: SA and hotspot generate different hprof records for GC roots
Yasumasa Suenaga
ysuenaga at openjdk.org
Wed Feb 18 12:02:58 UTC 2026
We can extract heapdump from coredump via `jhsdb jmap --binaryheap`. However GC roots for system classes (`HPROF_GC_ROOT_STICKY_CLASS`) are not available i it even though heapdump from HotSpot contains.
SA should generate `HPROF_GC_ROOT_STICKY_CLASS` into heapdump.
-------------
Commit messages:
- 8306591: SA and hotspot generate different hprof records for GC roots
Changes: https://git.openjdk.org/jdk/pull/29781/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29781&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306591
Stats: 50 lines in 5 files changed: 47 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/29781.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29781/head:pull/29781
PR: https://git.openjdk.org/jdk/pull/29781
More information about the serviceability-dev
mailing list