[jdk20] RFR: 8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails intermittently

Vladimir Kozlov kvn at openjdk.org
Mon Dec 19 22:39:48 UTC 2022


On Mon, 19 Dec 2022 16:17:34 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> The test doesn't work when using -XX:TieredStopAtLevel to switch off C2 compilation. Don't run the test in this case.

I thought to suggest use `@requires vm.compiler2.enabled` to check if C2 is enabled.
But checking for `TieredStopAtLevel` will work for all cases. Approved.

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

Marked as reviewed by kvn (Reviewer).

PR: https://git.openjdk.org/jdk20/pull/55


More information about the hotspot-compiler-dev mailing list