RFR: 8353669: IGV: dump OOP maps for MachSafePoint nodes

Roberto CastaƱeda Lozano rcastanedalo at openjdk.org
Fri Apr 4 08:43:57 UTC 2025


This changeset dumps the OOP map of each MachSafePoint when available, i.e. at the `Final Code` phase. This should make it easier to learn about and diagnose OOP map building issues:

![final-code](https://github.com/user-attachments/assets/a477c9d1-0fe4-42ef-a367-336c54bec6a5)

#### Testing

- tier1 (windows-x64, linux-x64, linux-aarch64, macosx-x64, and macosx-aarch64; release and debug mode).
- Tested IGV manually on a few selected graphs. Tested automatically that dumping thousands of graphs does not trigger any assertion failure (by running `java -Xcomp -XX:PrintIdealGraphLevel=1`).

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

Commit messages:
 - Dump oopmaps for MachSafePoint nodes when available

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

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


More information about the hotspot-compiler-dev mailing list