RFR: 8350006: IGV: show memory slices as type information

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Feb 14 08:22:41 UTC 2025


This changeset extends the "Show types" filter in IGV to show the memory slice corresponding to each memory node. This information can be useful e.g. in the ongoing investigation of [JDK-8333393](https://bugs.openjdk.org/browse/JDK-8333393). Here is an example of a memory subgraph with the extended "Show types" filter enabled:

![example](https://github.com/user-attachments/assets/1810a257-c6d6-4b6e-9638-5bbef1c48717)

#### Testing

- tier1 (windows-x64, linux-x64, linux-aarch64, and macosx-x64; release and debug mode).

- Tested IGV manually on a few selected graphs. Tested automatically that displaying thousands of graphs with the "Show types" filter enabled does not trigger any assertion failure (by enabling assertions, instrumenting IGV to display parsed graphs eagerly, and running `java -Xbatch -XX:-TieredCompilation -XX:PrintIdealGraphLevel=3`).

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

Commit messages:
 - Display mem slice when the 'Show types' filter is enabled

Changes: https://git.openjdk.org/jdk/pull/23621/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23621&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350006
  Stats: 13 lines in 1 file changed: 8 ins; 1 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/23621.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23621/head:pull/23621

PR: https://git.openjdk.org/jdk/pull/23621


More information about the hotspot-compiler-dev mailing list