RFR(XS): 8066998: [TESTBUG] compiler/whitebox/ForceNMethodSweepTest.java : sweep shouldn't increase usage
vladimir.kozlov at oracle.com
Tue Jan 20 17:52:27 UTC 2015
On 1/20/15 9:37 AM, Pavel Chistyakov wrote:
> 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)
More information about the hotspot-compiler-dev