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).

Thanks for your quick review!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/33527#issuecomment-6652995235

Reply via email to