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

Tobias Hartmann tobias.hartmann at oracle.com
Thu Apr 14 06:31:10 UTC 2016

Thanks, Vladimir!

Best regards,

On 13.04.2016 23:02, Vladimir Kozlov wrote:
> Looks good.
> Thanks,
> Vladimir
> On 4/13/16 1:53 AM, Tobias Hartmann wrote:
>> Hi,
>> please review the following patch:
>> https://bugs.openjdk.java.net/browse/JDK-8154073
>> http://cr.openjdk.java.net/~thartmann/8154073/webrev.00/
>> 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).
>> Thanks,
>> Tobias

More information about the hotspot-compiler-dev mailing list