compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java fails with Graal
Doug Simon
doug.simon at oracle.com
Tue Jun 27 06:47:17 UTC 2017
> On 27 Jun 2017, at 01:37, Christian Thalinger <cthalinger at twitter.com> wrote:
>
> So, this change:
>
> $ hg log -r fbb9c8026495 -p compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java
> changeset: 12748:fbb9c8026495
> tag: jdk-9+168
> user: dnsimon
> date: Fri Apr 28 02:54:05 2017 -0700
> summary: 8177845: Need a mechanism to load Graal
>
> diff --git a/test/compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java b/test/compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java
> --- a/test/compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java
> +++ b/test/compiler/jvmci/compilerToVM/HasCompiledCodeForOSRTest.java
> @@ -39,7 +39,7 @@
> * @run main/othervm -Xbootclasspath/a:.
> * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
> * -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI
> - * -XX:-BackgroundCompilation
> + * -XX:-BackgroundCompilation -Djvmci.Compiler=null
> * compiler.jvmci.compilerToVM.HasCompiledCodeForOSRTest
> */
>
>
> sets the JVMCI compiler to null. How is this test supposed to work when running with UseJVMCICompiler and Graal?
It's not which is why the flags needed to enable Graal aren't present.
-Doug
More information about the hotspot-compiler-dev
mailing list