RFR: 6364: Improvements to the Thread Graph

Brice Dutheil github.com+803621+bric3 at openjdk.java.net
Sun Aug 30 13:14:40 UTC 2020


On Sun, 30 Aug 2020 12:45:38 GMT, Brice Dutheil <github.com+803621+bric3 at openjdk.org> wrote:

>> EDIT I'm able to open JDK Mission Control, just not from the command line but from the Finder. I'll test the thread
>> view in the comming days.
>> First good news, it's able to open recording where the thread view didn't work before, because there was too many
>> threads. However the UI is slow.
>> ----
>> 
>> Hi I just wanted to give it a try but JMC keeps complaining about missing JDK.
>> 
>> $ ./target/products/org.openjdk.jmc/macosx/cocoa/x86_64/JDK\ Mission\ Control.app/Contents/MacOS/jmc -vm
>> /Users/bric3/.asdf/installs/java/corretto-8.262.10.1/bin/ Started recording 1.
>> 
>> Use jcmd 79275 JFR.dump name=JMC_Default filename=FILEPATH to copy recording data to file.
>> No Java runtime present, requesting install.
>> 
>> Any idea how to make this work ?
>
> Hi, I noticed that when selecting a part of thread lane, like an event, then the cell/label is half dimed :
> 
> <img width="797" alt="JFR thread top half"
> src="https://user-images.githubusercontent.com/803621/91659293-3665ea00-eacf-11ea-9fa7-0b86db536590.png"> <img
> width="684" alt="JFR thread bottom half"
> src="https://user-images.githubusercontent.com/803621/91659298-37971700-eacf-11ea-8c53-d99cf9e1f4ea.png">

I also noticed that the overview mode indicates "too much content", for recording of applications having a high number
of threads. And when the display area is not big enough, e.g. on 13 inches laptop or when the thread table is expanded.
 
![too much content on overview, thread table
expanded](https://user-images.githubusercontent.com/803621/91659801-7a0e2300-ead2-11ea-911b-ebf4e79d3228.png)

![overview ok, external screen, thread table
hidden](https://user-images.githubusercontent.com/803621/91659799-72e71500-ead2-11ea-8ebf-7433031fae2b.png)

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

PR: https://git.openjdk.java.net/jmc/pull/27


More information about the jmc-dev mailing list