After merge JDK-8251462 Simplify compilation policy:
make exploded-test TEST=hotspot_valhalla TEST_VM_OPTS="-XX:TieredStopAtLevel=1"
compiler/valhalla/inlinetypes/TestLWorldProfiling.java fails because compilation level 4 is not available with -XX:-TieredCompilation and -XX:TieredStopAtLevel=1 due to JDK-8261225:
WB error: invalid compilation level 4
stderr: [Exception in thread "main" java.lang.RuntimeException: Unexpected compilation level for public boolean compiler.valhalla.inlinetypes.TestLWorldProfiling.test26(java.lang.Object,java.lang.Object): expected 1 to equal 4
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
at compiler.valhalla.inlinetypes.InlineTypeTest.run(InlineTypeTest.java:771)
at compiler.valhalla.inlinetypes.InlineTypeTest.run(InlineTypeTest.java:451)
at compiler.valhalla.inlinetypes.TestLWorldProfiling.main(TestLWorldProfiling.java:82)
]
Several tests crash due to JDK-8261229:
compiler/valhalla/inlinetypes/TestNullableArrays.java
compiler/valhalla/inlinetypes/TestLWorld.java
compiler/valhalla/inlinetypes/TestArrays.java
src/hotspot/share/c1/c1_Runtime1.cpp:473), pid=22107, tid=22108
# assert(data != __null && data->is_ArrayLoadStoreData()) failed: incorrect profiling entry
tack: [0x00007f0314d8f000,0x00007f0314e90000], sp=0x00007f0314e8cc10, free space=1015k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x831899] profile_flat_array(JavaThread*)+0x269
V [libjvm.so+0x834f78] Runtime1::store_flattened_array(JavaThread*, flatArrayOopDesc*, int, oopDesc*)+0x358
v ~RuntimeStub::store_flattened_array Runtime1 stub
J 199 c1 compiler.valhalla.inlinetypes.TestLWorld.test31Interface([Lcompiler/valhalla/inlinetypes/MyInterface;Lcompiler/valhalla/inlinetypes/MyInterface;I)V (8 bytes) @ 0x00007f03019f29db [0x00007f03019f27c0+0x000000000000021b]
j compiler.valhalla.inlinetypes.TestLWorld.test31Interface_verifier(Z)V+29
j jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+63
j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@17-lworld3ea
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@17-lworld3ea
j compiler.valhalla.inlinetypes.InlineTypeTest.run([Ljava/lang/Class;)V+349
j compiler.valhalla.inlinetypes.InlineTypeTest.run([Ljava/lang/String;[Ljava/lang/Class;)V+43
j compiler.valhalla.inlinetypes.TestLWorld.main([Ljava/lang/String;)V+45