RFR JMC-6104: Java Application/Thread Activity does not show the graph

Jayathirth D V jayathirth.d.v at oracle.com
Mon Jul 30 09:20:39 UTC 2018


Hi Sharath,

After your change I was able to see graph for thread activity.
And there are no unit tests failures in my Win 7 machine.
Changes are fine.

Thanks,
Jay

-----Original Message-----
From: Sharath Ballal 
Sent: Monday, July 30, 2018 10:11 AM
To: jmc-dev at openjdk.java.net
Subject: RFR JMC-6104: Java Application/Thread Activity does not show the graph

Hello,

 

Pls review this fix.  The issue was that in the "Java Application" page if "Thread Activity" checkbox was selected in the legend no bars in the graph was getting generated. (More details in the bug.)

 

Reason is that the event id path "com.oracle.jdk" was hard coded in some places.  Fix is to use the global constants.  

 

JBS: https://bugs.openjdk.java.net/browse/JMC-6104

Webrev: http://cr.openjdk.java.net/~sballal/JMC-6104/webrev.00/

 

Testing:

Mvn verify passes.  

I loaded JDK 7/8/9/10/11 recordings and verified under "Java Application", "Thread Activity" shows the bars in the graph.  "Threads" page under "Java Application" also shows the bars in the graph.

 

Thanks,

Sharath

 

 


More information about the jmc-dev mailing list