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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Apr 13 21:02:07 UTC 2016

Looks good.


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