-
Bug
-
Resolution: Fixed
-
P4
-
17
-
b13
-
x86_64
-
os_x
The following test failed in the JDK17 CI:
compiler/whitebox/ClearMethodStateTest.java
Here's a snippet from the log file:
TEST CASE:OSR_CONSTRUCTOR_TEST
at test's start:
private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception:
compilable: true
compiled: false
comp_level: 0
osr_compilable: true
osr_compiled: false
osr_comp_level: 0
in_queue: false
compile_queues_size: 83
882 290 java.util.regex.Matcher::reset (128 bytes)
896 296 b compiler.whitebox.SimpleTestCaseHelper::method (3 bytes)
897 294 % java.util.regex.Matcher::search @ 46 (154 bytes)
2295 297 n java.lang.invoke.MethodHandle::linkToStatic(LJL)L (native) (static)
2296 299 n java.lang.invoke.MethodHandle::invokeBasic(LJ)L (native)
2308 300 n java.lang.invoke.MethodHandle::linkToSpecial(LLJL)L (native) (static)
2330 304 n java.lang.invoke.MethodHandle::linkToStatic(JLLLL)J (native) (static)
2333 305 n java.lang.invoke.MethodHandle::invokeBasic(JLLL)J (native)
2338 306 n java.lang.invoke.MethodHandle::linkToSpecial(LJLLLL)J (native) (static)
2342 309 n java.lang.invoke.MethodHandle::invokeBasic(JLL)J (native)
2342 310 n java.lang.invoke.MethodHandle::linkToSpecial(LJLLL)J (native) (static)
2352 314 n java.lang.invoke.MethodHandle::invokeBasic(J)L (native)
2352 315 n java.lang.invoke.MethodHandle::linkToSpecial(LJL)L (native) (static)
2356 318 n java.lang.invoke.MethodHandle::linkToStatic(JLL)J (native) (static)
2356 319 n java.lang.invoke.MethodHandle::invokeBasic(JL)J (native)
2357 320 n java.lang.invoke.MethodHandle::linkToSpecial(LJLL)J (native) (static)
2358 321 n java.lang.invoke.MethodHandle::linkToStatic(LLLLLLLL)L (native) (static)
2360 322 n java.lang.invoke.MethodHandle::invokeBasic(LLLLLLL)L (native)
2364 323 n java.lang.invoke.MethodHandle::linkToStatic(LLLJL)L (native) (static)
2366 325 n java.lang.invoke.MethodHandle::invokeBasic(LLLJ)L (native)
2368 327 n java.lang.invoke.MethodHandle::linkToStatic(LLLLLLLLL)L (native) (static)
2370 330 n java.lang.invoke.MethodHandle::invokeBasic(L)J (native)
2370 331 n java.lang.invoke.MethodHandle::linkToSpecial(LLL)J (native) (static)
2372 332 n java.lang.invoke.MethodHandle::invokeBasic(LLLLLLLL)L (native)
2375 334 n java.lang.invoke.MethodHandle::linkToStatic(LLLLLLLLLL)L (native) (static)
2380 336 n java.lang.invoke.MethodHandle::invokeBasic(LLLLLLLLL)L (native)
on exception 'private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled':
private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception:
compilable: true
compiled: false
comp_level: 0
osr_compilable: true
osr_compiled: false
osr_comp_level: 0
in_queue: false
compile_queues_size: 104
----------System.err:(29/2495)----------
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:258)
at compiler.whitebox.ClearMethodStateTest.test(ClearMethodStateTest.java:76)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
at compiler.whitebox.ClearMethodStateTest.main(ClearMethodStateTest.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
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:258)
at compiler.whitebox.ClearMethodStateTest.test(ClearMethodStateTest.java:76)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
at compiler.whitebox.ClearMethodStateTest.main(ClearMethodStateTest.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled
----------rerun:(53/8552)*----------
compiler/whitebox/ClearMethodStateTest.java
Here's a snippet from the log file:
TEST CASE:OSR_CONSTRUCTOR_TEST
at test's start:
private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception:
compilable: true
compiled: false
comp_level: 0
osr_compilable: true
osr_compiled: false
osr_comp_level: 0
in_queue: false
compile_queues_size: 83
882 290 java.util.regex.Matcher::reset (128 bytes)
896 296 b compiler.whitebox.SimpleTestCaseHelper::method (3 bytes)
897 294 % java.util.regex.Matcher::search @ 46 (154 bytes)
2295 297 n java.lang.invoke.MethodHandle::linkToStatic(LJL)L (native) (static)
2296 299 n java.lang.invoke.MethodHandle::invokeBasic(LJ)L (native)
2308 300 n java.lang.invoke.MethodHandle::linkToSpecial(LLJL)L (native) (static)
2330 304 n java.lang.invoke.MethodHandle::linkToStatic(JLLLL)J (native) (static)
2333 305 n java.lang.invoke.MethodHandle::invokeBasic(JLLL)J (native)
2338 306 n java.lang.invoke.MethodHandle::linkToSpecial(LJLLLL)J (native) (static)
2342 309 n java.lang.invoke.MethodHandle::invokeBasic(JLL)J (native)
2342 310 n java.lang.invoke.MethodHandle::linkToSpecial(LJLLL)J (native) (static)
2352 314 n java.lang.invoke.MethodHandle::invokeBasic(J)L (native)
2352 315 n java.lang.invoke.MethodHandle::linkToSpecial(LJL)L (native) (static)
2356 318 n java.lang.invoke.MethodHandle::linkToStatic(JLL)J (native) (static)
2356 319 n java.lang.invoke.MethodHandle::invokeBasic(JL)J (native)
2357 320 n java.lang.invoke.MethodHandle::linkToSpecial(LJLL)J (native) (static)
2358 321 n java.lang.invoke.MethodHandle::linkToStatic(LLLLLLLL)L (native) (static)
2360 322 n java.lang.invoke.MethodHandle::invokeBasic(LLLLLLL)L (native)
2364 323 n java.lang.invoke.MethodHandle::linkToStatic(LLLJL)L (native) (static)
2366 325 n java.lang.invoke.MethodHandle::invokeBasic(LLLJ)L (native)
2368 327 n java.lang.invoke.MethodHandle::linkToStatic(LLLLLLLLL)L (native) (static)
2370 330 n java.lang.invoke.MethodHandle::invokeBasic(L)J (native)
2370 331 n java.lang.invoke.MethodHandle::linkToSpecial(LLL)J (native) (static)
2372 332 n java.lang.invoke.MethodHandle::invokeBasic(LLLLLLLL)L (native)
2375 334 n java.lang.invoke.MethodHandle::linkToStatic(LLLLLLLLLL)L (native) (static)
2380 336 n java.lang.invoke.MethodHandle::invokeBasic(LLLLLLLLL)L (native)
on exception 'private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled':
private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception:
compilable: true
compiled: false
comp_level: 0
osr_compilable: true
osr_compiled: false
osr_comp_level: 0
in_queue: false
compile_queues_size: 104
----------System.err:(29/2495)----------
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:258)
at compiler.whitebox.ClearMethodStateTest.test(ClearMethodStateTest.java:76)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
at compiler.whitebox.ClearMethodStateTest.main(ClearMethodStateTest.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
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:258)
at compiler.whitebox.ClearMethodStateTest.test(ClearMethodStateTest.java:76)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
at compiler.whitebox.ClearMethodStateTest.main(ClearMethodStateTest.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(java.lang.Object,long) throws java.lang.Exception must be osr_compiled
----------rerun:(53/8552)*----------
- duplicates
-
JDK-8262505 compiler/whitebox/EnqueueMethodForCompilationTest.java fails with "compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"
-
- Closed
-
- relates to
-
JDK-8181831 [Graal] compiler/whitebox tests fail to trigger OSR compilation
-
- Open
-
-
JDK-8251462 Simplify compilation policy
-
- Resolved
-
-
JDK-8262505 compiler/whitebox/EnqueueMethodForCompilationTest.java fails with "compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"
-
- Closed
-
(1 links to)