RFR(S): 8152169: LockCompilationTest.java fails due method present in the compiler queue
nils.eliasson at oracle.com
Fri Mar 18 15:02:49 UTC 2016
Please review this test fix.
This test tests the locking of the compilers - make sure no compiles can
be completed while the lock is in place. When running with
-XX:-TieredCompilation and -XX:CompileThreshold=100 we got a fairly long
queue of compiles waiting, and when only C2 is available it can take
longer to complete than the test wait time.
Only allow compile of the test method - make sure we have no contention
on the compile queue. With only a single method in the queue we can also
reduce the wait time.
Test run in failing configuration.
More information about the hotspot-compiler-dev