As a result, the data path dies while the control path (subtype check) is not folded:
5661 354 b 4 compiler.valhalla.inlinetypes.TestArrays::test96 (19 bytes)
5662 354 b 4 compiler.valhalla.inlinetypes.TestArrays::test96 (19 bytes) COMPILE SKIPPED: malformed control flow (retry at different tier)
stderr: [Exception in thread "main" java.lang.RuntimeException: Unexpected compilation level for public boolean compiler.valhalla.inlinetypes.TestArrays.test96(java.lang.Object[]): expected 3 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:732)
at compiler.valhalla.inlinetypes.InlineTypeTest.run(InlineTypeTest.java:418)
at compiler.valhalla.inlinetypes.TestArrays.main(TestArrays.java:74)
- relates to
-
JDK-8257150 Use an enum for not null-free/flat properties instead of boolean fields in TypeAryPtr and TypeKlassPtr
- Open
-
JDK-8251442 [lworld] C2 compilation fails with assert(value->bottom_type()->higher_equal(_type))
- Resolved