Integrated: 7121: Unhandled exception while working with Thread Graphs
Alex Macdonald
aptmac at openjdk.java.net
Fri Feb 5 19:09:45 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
This pull request has now been integrated.
Changeset: 80f7c2d8
Author: Alex Macdonald <aptmac at openjdk.org>
URL: https://git.openjdk.java.net/jmc/commit/80f7c2d8
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
7121: Unhandled exception while working with Thread Graphs
Reviewed-by: hirt
-------------
PR: https://git.openjdk.java.net/jmc/pull/210
More information about the jmc-dev
mailing list