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

Christian Hagedorn chagedorn at openjdk.java.net
Mon Nov 29 07:50:11 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

This pull request has now been integrated.

Changeset: 0c7a4b8a
Author:    Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0c7a4b8aa8bb672e87aae7090494719db018b9b1
Stats:     8 lines in 1 file changed: 8 ins; 0 del; 0 mod

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

Reviewed-by: roland, neliasso, thartmann

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

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


More information about the hotspot-compiler-dev mailing list