-
Bug
-
Resolution: Fixed
-
P3
-
11
-
b04
Introduce EagerJVMCI flag to force eager JVMCI initialization.
Right now JVMCI/Graal initialization is triggered by application code flow.
As result tests which provokes some method compilation and expects them
to be compiled in some reasonable time could fail.
This is for example the case for tests which use WB API.
Impacted tests:
compiler/rangechecks/TestRangeCheckSmearing.java
java.lang.RuntimeException: static int compiler.rangechecks.TestRangeCheckSmearing.m1(int[],int,boolean) not compiled
at compiler.rangechecks.TestRangeCheckSmearing.doTest(TestRangeCheckSmearing.java:382)
at compiler.rangechecks.TestRangeCheckSmearing.doTests(TestRangeCheckSmearing.java:423)
at compiler.rangechecks.TestRangeCheckSmearing.main(TestRangeCheckSmearing.java:329)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
compiler/uncommontrap/Test8009761.java
java.lang.RuntimeException: static java.lang.Object compiler.uncommontrap.Test8009761.m3(boolean,boolean) not compiled
at compiler.uncommontrap.Test8009761.main(Test8009761.java:271)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
compiler/whitebox/ForceNMethodSweepTest.java
java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
at compiler.whitebox.ForceNMethodSweepTest.test(ForceNMethodSweepTest.java:73)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:135)
at compiler.whitebox.ForceNMethodSweepTest.main(ForceNMethodSweepTest.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Right now JVMCI/Graal initialization is triggered by application code flow.
As result tests which provokes some method compilation and expects them
to be compiled in some reasonable time could fail.
This is for example the case for tests which use WB API.
Impacted tests:
compiler/rangechecks/TestRangeCheckSmearing.java
java.lang.RuntimeException: static int compiler.rangechecks.TestRangeCheckSmearing.m1(int[],int,boolean) not compiled
at compiler.rangechecks.TestRangeCheckSmearing.doTest(TestRangeCheckSmearing.java:382)
at compiler.rangechecks.TestRangeCheckSmearing.doTests(TestRangeCheckSmearing.java:423)
at compiler.rangechecks.TestRangeCheckSmearing.main(TestRangeCheckSmearing.java:329)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
compiler/uncommontrap/Test8009761.java
java.lang.RuntimeException: static java.lang.Object compiler.uncommontrap.Test8009761.m3(boolean,boolean) not compiled
at compiler.uncommontrap.Test8009761.main(Test8009761.java:271)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
compiler/whitebox/ForceNMethodSweepTest.java
java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
at compiler.whitebox.ForceNMethodSweepTest.test(ForceNMethodSweepTest.java:73)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:135)
at compiler.whitebox.ForceNMethodSweepTest.main(ForceNMethodSweepTest.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
- relates to
-
JDK-8199066 [JVMCI] EagerJVMCI option should also initialize the JVMCI compiler
-
- Resolved
-
-
JDK-8195156 [Graal] serviceability/jvmti/GetModulesInfo/JvmtiGetAllModulesTest.java fails with Graal in Xcomp mode
-
- Resolved
-