RFR: 8311946: add support for libgraal specific jtreg tests

Vladimir Kozlov kvn at openjdk.org
Wed Jul 12 18:22:12 UTC 2023


On Wed, 12 Jul 2023 13:48:23 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR adds support for a `vm.libgraal.enabled` property that can be used with the jtreg `@requires` tag to determine if the VM under test is using libgraal as the JIT.

test/lib/jdk/test/whitebox/code/Compiler.java line 103:

> 101:             return false;
> 102:         }
> 103:         Boolean useJvmciNativeLibrary = WB.getBooleanVMFlag("UseJVMCICompiler");

Typo: "UseJVMCICompiler". Should be "UseJVMCINativeLibrary".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14851#discussion_r1261565058


More information about the hotspot-dev mailing list