-
Bug
-
Resolution: Unresolved
-
P2
-
26
There are various issues with the new tests added by JDK-8316694.
Next new tests failed on all platforms when run with `-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation` options:
compiler/whitebox/DeoptimizeRelocatedNMethod.java
compiler/whitebox/RelocateNMethod.java
compiler/whitebox/StressNMethodRelocation.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/code/codeCache.cpp:513), pid=2571768, tid=2571830
# assert(heap != nullptr) failed: heap is null
#
# JRE version: Java(TM) SE Runtime Environment (26.0+19) (fastdebug build 26-ea+19-1899)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+19-1899, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xb2ede9] CodeCache::allocate(unsigned int, CodeBlobType, bool, CodeBlobType)+0x359
Current thread (0x00007f7d1c1f88f0): JavaThread "MainThread" [_thread_in_vm, id=2571830, stack(0x00007f7cff234000,0x00007f7cff334000) (1024K)]
Stack: [0x00007f7cff234000,0x00007f7cff334000], sp=0x00007f7cff331d80, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xb2ede9] CodeCache::allocate(unsigned int, CodeBlobType, bool, CodeBlobType)+0x359 (codeCache.cpp:513)
V [libjvm.so+0x173c615] nmethod::relocate(CodeBlobType)+0xd5 (nmethod.cpp:1632)
V [libjvm.so+0x1cca68a] WB_RelocateNMethodFromMethod+0x2ea (whitebox.cpp:1653)
j jdk.test.whitebox.WhiteBox.relocateNMethodFromMethod0(Ljava/lang/reflect/Executable;I)V+0
j jdk.test.whitebox.WhiteBox.relocateNMethodFromMethod(Ljava/lang/reflect/Executable;I)V+8
j compiler.whitebox.DeoptimizeRelocatedNMethod.main([Ljava/lang/String;)V+50
compiler/whitebox/StressNMethodRelocation.java times out (JDK-8369148)
serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java fails with COH (JDK-8369150)
serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java fails when run with different GC (JDK-8369151)
compiler/whitebox/DeoptimizeRelocatedNMethod.java intermittently fails when run with "-Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:TieredStopAtLevel=1":
java.lang.RuntimeException: public static void compiler.whitebox.DeoptimizeRelocatedNMethod.function() must be compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:280)
at compiler.whitebox.DeoptimizeRelocatedNMethod.main(DeoptimizeRelocatedNMethod.java:115)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1474)
Next new tests failed on all platforms when run with `-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation` options:
compiler/whitebox/DeoptimizeRelocatedNMethod.java
compiler/whitebox/RelocateNMethod.java
compiler/whitebox/StressNMethodRelocation.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/workspace/open/src/hotspot/share/code/codeCache.cpp:513), pid=2571768, tid=2571830
# assert(heap != nullptr) failed: heap is null
#
# JRE version: Java(TM) SE Runtime Environment (26.0+19) (fastdebug build 26-ea+19-1899)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+19-1899, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xb2ede9] CodeCache::allocate(unsigned int, CodeBlobType, bool, CodeBlobType)+0x359
Current thread (0x00007f7d1c1f88f0): JavaThread "MainThread" [_thread_in_vm, id=2571830, stack(0x00007f7cff234000,0x00007f7cff334000) (1024K)]
Stack: [0x00007f7cff234000,0x00007f7cff334000], sp=0x00007f7cff331d80, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xb2ede9] CodeCache::allocate(unsigned int, CodeBlobType, bool, CodeBlobType)+0x359 (codeCache.cpp:513)
V [libjvm.so+0x173c615] nmethod::relocate(CodeBlobType)+0xd5 (nmethod.cpp:1632)
V [libjvm.so+0x1cca68a] WB_RelocateNMethodFromMethod+0x2ea (whitebox.cpp:1653)
j jdk.test.whitebox.WhiteBox.relocateNMethodFromMethod0(Ljava/lang/reflect/Executable;I)V+0
j jdk.test.whitebox.WhiteBox.relocateNMethodFromMethod(Ljava/lang/reflect/Executable;I)V+8
j compiler.whitebox.DeoptimizeRelocatedNMethod.main([Ljava/lang/String;)V+50
compiler/whitebox/StressNMethodRelocation.java times out (
serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java fails with COH (
serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java fails when run with different GC (
compiler/whitebox/DeoptimizeRelocatedNMethod.java intermittently fails when run with "-Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:TieredStopAtLevel=1":
java.lang.RuntimeException: public static void compiler.whitebox.DeoptimizeRelocatedNMethod.function() must be compiled
at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:280)
at compiler.whitebox.DeoptimizeRelocatedNMethod.main(DeoptimizeRelocatedNMethod.java:115)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1474)
- caused by
-
JDK-8316694 Implement relocation of nmethod within CodeCache
-
- Resolved
-
- duplicates
-
JDK-8369148 compiler/whitebox/StressNMethodRelocation.java test timed out
-
- Closed
-
-
JDK-8369149 compiler/whitebox/StressNMethodRelocation.java fails when running only with C1
-
- Closed
-
-
JDK-8369150 serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java failed with COH
-
- Closed
-
-
JDK-8369151 serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java failed when run with different GC
-
- Closed
-