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

Nils Eliasson neliasso at openjdk.java.net
Fri Nov 26 10:42:05 UTC 2021


On Thu, 25 Nov 2021 14:46:36 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> 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

Approved!

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

Marked as reviewed by neliasso (Reviewer).

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


More information about the hotspot-compiler-dev mailing list