On Wed, 18 Feb 2026 09:11:34 GMT, Yasumasa Suenaga <[email protected]> wrote:
> 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.
test/hotspot/jtreg/serviceability/sa/ClhsdbDumpheap.java line 75:
> 73: try (var snapshot = HprofReader.readFile(file, false, 0)) {
> 74: for (var root = snapshot.getRoots(); root.hasMoreElements();)
> {
> 75: if (root.nextElement().getType() == Root.SYSTEM_CLASS) {
Was this change intentional or was it just meant to be temporary test of your
changes?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29781#discussion_r2825394748