RFR: 8277842: IGV: Add jvms property to know where a node came from

Christian Hagedorn chagedorn at openjdk.java.net
Thu Nov 25 14:54:22 UTC 2021


When dumping a node with `node->dump()`, it also prints the JVM state which tells us to which bci and inlinee method the node belongs to:

 38  StoreI  ===  5  7  37  35  [[ 15 ]]  @java/lang/Class:exact+116 *, name=y, idx=5;  Memory: @java/lang/Class:exact+116 *, name=y, idx=5; !jvms: Test::inlinee @ bci:1 (line 16) Test::test @ bci:4 (line 12)

IGV only shows the line and bci information with which it is sometimes hard to tell where exactly the node came from, especially with deep inlining. This patch adds the entire JVM state as a `jvms` property field to IGV: 

![Screenshot from 2021-11-25 15-21-53](https://user-images.githubusercontent.com/17833009/143460385-baf5ee3a-31b0-4693-bfa4-0de91c3c4822.png)

This helps to better analyze a graph.

Thanks,
Christian

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

Commit messages:
 - 8277842: IGV: Add jvms property to know where a node came from

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

PR: https://git.openjdk.java.net/jdk/pull/6563


More information about the hotspot-compiler-dev mailing list