RFR: 8320649: C2: Optimize scoped values [v9]
Christian Hagedorn
chagedorn at openjdk.org
Thu Mar 21 13:14:27 UTC 2024
On Thu, 21 Mar 2024 12:07:37 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> I see these two extra flag combinations lead to failures:
>
> `-XX:+UnlockExperimentalVMOptions -XX:PerMethodSpecTrapLimit=0 -XX:PerMethodTrapLimit=0`
>
> `-server -Xcomp`
You can try to use `TestFramework::assertDeoptimizedByC2()` which skips the assertion for some unstable setups like having `PerMethodTrapLimit == 0`:
https://github.com/openjdk/jdk/blob/700d2b91defd421a2818f53830c24f70d11ba4f6/test/hotspot/jtreg/compiler/lib/ir_framework/test/TestVM.java#L943-L956
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16966#issuecomment-2012258649
More information about the hotspot-compiler-dev
mailing list