RFR(XXS): 8068661: Exclude compiler/whitebox/ForceNMethodSweepTest.java from nightly runs
albert.noll at oracle.com
Thu Jan 8 11:46:18 UTC 2015
this fix excludes compiler/whitebox/ForceNMethodSweepTest.java from the
The test is unstable for the following reasons:
A) The test is started with:
As a result, all methods of SimpleTestCase$Helper can be compiled.
These include the following accessor methods:
Since background compilation is enabled, it is possible that
methods of the class SimpleTestCase$Helper are compiled just after (3)
1) int afterCompilation = getTotalUsage();
2) Asserts.assertGT(afterCompilation, usage, "compilation should
4) int afterSweep = getTotalUsage();
5) Asserts.assertLTE(afterSweep, afterCompilation, "sweep shouldn't
B) Another possible problem is that we have class loading in (2). Since
adapters are created eagerly, there is a potential allocation in the
code cache for adapters. In the executions I observed, this was not a
problem due to adapter sharing (there already exists an adapter, since a
class that contains a method with the same signature was loaded before).
However, there is no guarantee that adapter sharing will also make this
test work in the future.
Here is the webrev:
More information about the hotspot-compiler-dev