Earlier versions of the SA jmap tool supported dumping the Java heap in Graph eXchange Language (GXL) format. However, neither jcmd nor jhsdb provides a command-line option to invoke this feature now. In addition, the sun.jvm.hotspot.utilities package, which contains HeapGXLWriter, is not exported by the jdk.hotspot.agent module.
HeapGXLWriter seem to be no longer maintained and cannot handle flattened objects introduced by Valhalla. Updating it to support flattened objects would provide little benefit, since this feature is not exposed through the current command-line tools. This change passed following jtreg tests: - test/hotspot/jtreg/serviceability/sa - test/jdk/sun/tools/jcmd - test/jdk/sun/tools/jhsdb - test/jdk/sun/tools/jmap --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Merge branch 'master' into remove-heap-gxl - Update src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/JMap.java - Remove HeapGXLWriter Changes: https://git.openjdk.org/jdk/pull/33527/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33527&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8395705 Stats: 448 lines in 2 files changed: 0 ins; 446 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/33527.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33527/head:pull/33527 PR: https://git.openjdk.org/jdk/pull/33527
