RFR: 7121: Unhandled exception while working with Thread Graphs
Marcus Hirt
hirt at openjdk.java.net
Fri Feb 5 14:27:38 UTC 2021
On Thu, 4 Feb 2021 22:28:51 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:
> This short PR addresses JMC-7121 [0], in which a division by 0 error can occur when viewing the threads page with a focused selection that has no relevant thread information. A big thanks to Bipin for catching this, but for also providing easy steps to reproduce the issue.
>
> The fix here adds a check when initializing the minimum lane height, ensuring that the default value gets set if there are no items.
>
> [0] https://bugs.openjdk.java.net/browse/JMC-7121
Marked as reviewed by hirt (Lead).
-------------
PR: https://git.openjdk.java.net/jmc/pull/210
More information about the jmc-dev
mailing list