RFR: 8320649: C2: Optimize scoped values [v9]

Christian Hagedorn chagedorn at openjdk.org
Mon Mar 25 13:52:29 UTC 2024


On Mon, 25 Mar 2024 12:49:47 GMT, Roland Westrelin <roland at openjdk.org> wrote:

> > You can try to use `TestFramework::assertDeoptimizedByC2()` which skips the assertion for some unstable setups like having `PerMethodTrapLimit == 0`:
> 
> Thanks for the suggestion! I used it to fix the test. @eme64 would you mind re-running tests?

Minor detail: You should use `TestFramework::assertDeoptimizedByC2()` instead of `TestVM::assertDeoptimizedByC2()`. `TestVM` should only be called internally by the framework.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16966#issuecomment-2018050858


More information about the hotspot-compiler-dev mailing list