RFR : JDK-8151797 - java/lang/management/ThreadMXBean/ThreadLists.java : inconsistent results

Harsha Wardhana B harsha.wardhana.b at oracle.com
Fri Mar 18 11:17:52 UTC 2016


Hello All,

Please review fix for,

Issue : JDK-8151797 <http://JDK-8151797> - 
java/lang/management/ThreadMXBean/ThreadLists.java : inconsistent results
Webrev : http://cr.openjdk.java.net/~hb/8151797/webrev.00/

Root-cause :  call-site cleaner thread not started before counting 
threads via Thread.getAllStackTraces();.
Fix : Create ThreadMXBean at the beginning of test so that call-site 
cleaner thread will be started.

Thanks
Harsha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160318/96588396/attachment.html>


More information about the serviceability-dev mailing list