[9] RFR(S): 8154073: Several compiler tests fail when are executed with C1 only

Tobias Hartmann tobias.hartmann at oracle.com
Wed Apr 13 08:53:01 UTC 2016


please review the following patch:


TestArrayCopyNoInitDeopt and TestExplicitRangeChecks fail with -XX:TieredStopAtLevel=1 because they expect methods to be compiled with C2. I added the corresponding checks to the tests.

TieredLevelsTest causes the VM to crash with assert "heap is null" in CodeCache::allocate() because a compilation at level 2 is triggered via the Whitebox API and the corresponding code heap for profiled nmethods is not available with -XX:TieredStopAtLevel=2. I added a check to WhiteBox::compile_method() and also added an assert to CompileBroker::compile_method() to get a more meaningful error message.

Tested with RBT (running).


More information about the hotspot-compiler-dev mailing list