RFR(XS): 8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage

Pavel Chistyakov pavel.chistyakov at oracle.com
Tue Jan 20 17:37:12 UTC 2015


Hi all,

please review small fix for JDK-8066998 
<https://bugs.openjdk.java.net/browse/JDK-8066998>.

webrev: http://cr.openjdk.java.net/~pchistyakov/8066998/webrev.00/

Problem: sometimes ForceNMethodSweepTest fails w/ "sweep shouldn't 
increase usage" message that is caused by increasing of total counted 
code cache usage after sweeping instead of decreasing. After some 
investigations (thanks Albert Noll) we found that this behavior can be 
forced by background compilation. It happens after controlled sweep 
process and increases code cache usage unexpectedly.

Solution: disable background compilation for this test.

Testing: manual locally (about 1000 runs w/ and w/o background compilation)

----------------
Thanks,
Pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150120/a4778015/attachment.html>


More information about the hotspot-compiler-dev mailing list