On Tue, 10 Mar 2026 08:57:04 GMT, Roland Westrelin <[email protected]> wrote:
> When a call returns one of its argument, EA adds connection graph
> edges between the return projection of the call and the input
> argument. For values, if the argument and return are scalarized, for
> each references field, a connection graph edge should be added between
> the projection of the returned field and the input argument for the
> same field.
test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestOptimizePtrCompare.java
line 167:
> 165: }
> 166:
> 167: @Test(allowNotCompilable = true)
I forgot to mention that I had to add `allowNotCompilable = true` because that
test case can cause a failure with:
Base Test: @Test test6:
compiler.lib.ir_framework.shared.TestRunException: Method public static void
compiler.valhalla.inlinetypes.TestOptimizePtrCompare.test6() not compilable
(anymore) at level C1_SIMPLE. Most likely, this is not expected, but if it is,
you can use 'allowNotCompilable'.
at compiler.lib.ir_framework.shared.TestRun.check(TestRun.java:32)
at
compiler.lib.ir_framework.test.AbstractTest.compileMethod(AbstractTest.java:121)
at compiler.lib.ir_framework.test.BaseTest.compileTest(BaseTest.java:95)
at
compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:102)
at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:874)
at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:257)
at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:170)
at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:902)
at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:257)
at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:170)
when run with `-DWarmup=0 -XX:TieredStopAtLevel=1` because c1 bails out with
`COMPILE SKIPPED: store to an uninitialized nullable non-atomic flat field
(retry at different tier)`.
I'm not sure if this is expected or not.
-------------
PR Review Comment:
https://git.openjdk.org/valhalla/pull/2212#discussion_r2939074677