RFR: JMC-6367 - Improve Thread graph tooltip
almacdon at redhat.com
Thu Feb 14 21:21:51 UTC 2019
The following webrev  addresses issue JMC-6367 , in which the thread
lane tooltips should display descriptive information (thread & lane names)
pertaining to the highlighted lane.
The information to be displayed in the tooltip had to be carried in the
Span object which is passed to the ChartToolTipProvider. There was an
unused String description argument in the QuantitySpanRenderer which fits
this need, and allows for the passing of the tooltip title from the
ThreadGraphLanes through the QuantitySpanRenderer to the
QuantitySpanRendering. This change was also mirrored in the SpanRenderer.
If the Span obj has a description when it hits the ChartToolTipProvider, a
title will be appended to the tooltip.
I've created an imgur album  to show some examples. Some images
illustrate the before and after of this patch when viewing tooltips for a
thread , and viewing a thread that corresponds to an active filter
(e.g., Java Latencies lane) .
More information about the jmc-dev