On Fri, 23 Oct 2026 01:17:51 GMT, Yasumasa Suenaga <[email protected]> wrote:
> 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). This pull request has now been integrated. Changeset: de392f13 Author: Yasumasa Suenaga <[email protected]> URL: https://git.openjdk.org/jdk/commit/de392f132a716eaa251b186b51d171dacec98925 Stats: 448 lines in 2 files changed: 0 ins; 446 del; 2 mod 8395705: Remove support for GXL heap dumps Reviewed-by: kevinw, cjplummer ------------- PR: https://git.openjdk.org/jdk/pull/33527
