RFR(S) 8205541: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatArrayCorrectnessTest.java fails

JC Beyler jcbeyler at google.com
Mon Jul 16 19:37:18 UTC 2018


Hi all,

Small RFR to update two HeapMonitor tests to remove test failures when
resetting a test data structure and assuming wrongly that the data
structure was empty afterwards due to a second thread adding something to
it.

The fix is to disable sampling then reset the storage before enabling it
again.

Bug associated is: JDK-8205541
<https://bugs.openjdk.java.net/browse/JDK-8205541>
Webrev is here: http://cr.openjdk.java.net/~jcbeyler/8205541/webrev.02/

Thanks all!
Jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180716/1fda6c4c/attachment.html>


More information about the serviceability-dev mailing list