Details
-
Bug
-
Resolution: Fixed
-
P4
-
13, 14
-
b24
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8234285 | 11.0.7-oracle | Vaibhav Choudhary | P4 | Resolved | Fixed | b01 |
Description
Test compiler/tiered/Level2RecompilationTest.java expect C2 to be enabled and fails otherwise with:
----------System.err:(30/2484)----------
Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:77)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:52)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:77)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:52)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
----------System.err:(30/2484)----------
Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:77)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:52)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:264)
at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:77)
at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:176)
at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:139)
at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:52)
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:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
JavaTest Message: Test threw exception: java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: private int compiler.whitebox.SimpleTestCaseHelper.method() must be compiled
Attachments
Issue Links
- backported by
-
JDK-8234285 compiler/tiered/Level2RecompilationTest.java fails when XX:TieredStopAtLevel=1/2/3 is set
-
- Resolved
-
- relates to
-
JDK-8299226 compiler/profiling/TestTypeProfiling.java: make it not throw if C2 is not enabled.
-
- Closed
-