RFR: 6364: Improvements to the Thread Graph
Brice Dutheil
github.com+803621+bric3 at openjdk.java.net
Sun Aug 30 12:47:45 UTC 2020
On Sat, 29 Aug 2020 14:22:20 GMT, Brice Dutheil <github.com+803621+bric3 at openjdk.org> wrote:
>> Hi everyone,
>>
>> The following commits update this PR based on the feedback on the Threads Page document (posted in Slack) [0], and then
>> rebased to sit ontop of the current master branch.
>> The major changes include:
>> - reverting some of the colour palette modifications to restore "urgency" of some colours
>> - removal of the right-side toolbar and migrating its controls to the top bar
>> - setting the minimum readible lane height by default & fixing the lane height controls
>> - adding functionality for an "legacy" zoomed out mode of one-past the minimum lane height, which mimics the current
>> threads page display (including restoring the mousewheel zoom in this mode)
>> - the popup table has been reworked to be a foldable table with an implementation based off an old JMC-6368 proposed patch
>> - placing the new threads page implementation into it's own page, so the current and new pages can live simultaneously
>>
>> Here's a handful of screenshots and gifs showing the new modifications:
>>
>> Threads Page (Linux):
>> 
>>
>> Threads Page (Windows):
>> 
>>
>> Overview Mode (Linux):
>> 
>>
>> Legacy Page (Linux):
>> 
>>
>> Gif of the overview mode toggle (Linux):
>> 
>>
>> Gif of the foldable table and lane selection (Linux):
>> 
>>
>> As usual, I've been testing the functionality and behavior on my Linux & Windows machines, and they work okay from what
>> I've seen. If someone could double-check that this behaves as expected on a Mac it'd be greatly appreciated.
>> [0] https://docs.google.com/document/d/1fY5xXJKcg84vLGySzOZ7JjVqvZyZeSsGq7syTK5ETCM/edit
>> [1] https://bugs.openjdk.java.net/browse/JMC-6368
>
> 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">
-------------
PR: https://git.openjdk.java.net/jmc/pull/27
More information about the jmc-dev
mailing list