[PATCH] JMC-5706 JavaBlockingRule should report block times
Jessye Coleman Shapiro
jescolem at redhat.com
Tue Jun 11 18:53:28 UTC 2019
This patch addresses JMC-5706: JavaBlockingRule should report block times
. I have added the total time a top blocking monitor was blocked on to
the information reported.
I have also edited the 'groupedByThread' list filter condition to ensure
that only 'JavaMonitorEnter' events are being considered when determining
the 'mostBlockedThread'. Without the filter I was getting a null pointer
exception, as the most common thread has not necessarily been blocked and
therefore may not have a blocking time associated with it - let me know if
this is not the case.
See the attached patch bellow and let me know what you think.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4870 bytes
Desc: not available
More information about the jmc-dev