RFR: 6364: Improvements to the Thread Graph

Alex Macdonald aptmac at openjdk.java.net
Tue Aug 25 14:20:19 UTC 2020


On Wed, 17 Jun 2020 20:20:56 GMT, Brice Dutheil <github.com+803621+bric3 at openjdk.org> wrote:

>> Hi @thegreystone, I rebased the branch yesterday to be on top of master, and included a new commit based on the
>> feedback that makes the dropdown lane filter act like the Edit Lanes Dialog (screenshot below). Does the outdated tag
>> automatically remove itself what some criteria is met?   Edit: I also see that the checks failed, it looks like there's
>> something wrong with the builds at the moment, I've been seeing similar errors on my travis builds as well
>> ![2020-04-27-171139_1177x829_scrot](https://user-images.githubusercontent.com/10425301/80604806-301c1000-8a00-11ea-82ce-88e55cc5d744.png)
>
> Hi just for the record how this is handled when there's a lot of threads to deal with.
> 
> ![image](https://user-images.githubusercontent.com/803621/84946230-a8da4700-b0e8-11ea-9058-54a51490fd5a.png)

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):
![0-overview](https://user-images.githubusercontent.com/10425301/91185566-fdd3a400-e6bb-11ea-82f6-bb3f0abc3260.png)

Threads Page (Windows):
![0-windows](https://user-images.githubusercontent.com/10425301/91185573-00ce9480-e6bc-11ea-86d5-ca3be0b426f2.png)

Overview Mode (Linux):
![2-legacy-mode](https://user-images.githubusercontent.com/10425301/91185593-05934880-e6bc-11ea-9164-9be5f0dbd2bc.png)

Legacy Page (Linux):
![3-legacy-page](https://user-images.githubusercontent.com/10425301/91185646-1a6fdc00-e6bc-11ea-854f-660574e7b4c9.png)

Gif of the overview mode toggle (Linux):
![legacy-mode](https://user-images.githubusercontent.com/10425301/91185675-2065bd00-e6bc-11ea-97ea-de2c74bc15fe.gif)

Gif of the foldable table and lane selection (Linux):
![fold-table](https://user-images.githubusercontent.com/10425301/91185707-278ccb00-e6bc-11ea-9581-dd8925ea94f9.gif)

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

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

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


More information about the jmc-dev mailing list