-
Bug
-
Resolution: Fixed
-
P2
-
19
-
b14
-
x86_64
-
windows
-
Verified
The following test failed in the JDK19 CI:
compiler/arguments/TestCodeEntryAlignment.java
Here's a snippet from the log file:
----------System.err:(32/1580)*----------
stdout: [#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (codeBuffer.cpp:962), pid=11972, tid=28988
# guarantee(sect->end() <= tend) failed: sanity
#
# JRE version: (19.0+11) (build )
# Java VM: OpenJDK 64-Bit Server VM (19-ea+11-655, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler\\scratch\\2\\hs_err_pid11972.mdmp
#
# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler\\scratch\\2\\hs_err_pid11972.log
#
#
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at compiler.arguments.TestCodeEntryAlignment.shouldPass(TestCodeEntryAlignment.java:65)
at compiler.arguments.TestCodeEntryAlignment.driver(TestCodeEntryAlignment.java:70)
at compiler.arguments.TestCodeEntryAlignment.main(TestCodeEntryAlignment.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000021ed814f910): JavaThread "Unknown thread" [_thread_in_vm, id=28988, stack(0x0000005780e00000,0x0000005780f00000)]
Stack: [0x0000005780e00000,0x0000005780f00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x69e48a] os::platform_print_native_stack+0xca (os_windows_x86.cpp:235)
V [jvm.dll+0x7fa6fd] VMError::report+0xc4d (vmError.cpp:828)
V [jvm.dll+0x7fc00e] VMError::report_and_die+0x78e (vmError.cpp:1656)
V [jvm.dll+0x7fc677] VMError::report_and_die+0x47 (vmError.cpp:1437)
V [jvm.dll+0x25f10a] report_vm_error+0x8a (debug.cpp:282)
V [jvm.dll+0x21b530] CodeBuffer::verify_section_allocation+0x1a0 (codeBuffer.cpp:962)
V [jvm.dll+0x219263] CodeBuffer::~CodeBuffer+0x13 (codeBuffer.cpp:132)
V [jvm.dll+0x75378a] stubRoutines_init2+0x10a (stubRoutines.cpp:367)
V [jvm.dll+0x38eb07] init_globals+0xc7 (init.cpp:160)
V [jvm.dll+0x7a70f1] Threads::create_vm+0x5a1 (thread.cpp:2809)
V [jvm.dll+0x4117df] JNI_CreateJavaVM_inner+0x8f (jni.cpp:3613)
V [jvm.dll+0x4131b1] JNI_CreateJavaVM+0x11 (jni.cpp:3701)
C [jli.dll+0x526b] JavaMain+0x113 (java.c:411)
C [ucrtbase.dll+0x26b4c]
C [KERNEL32.DLL+0x14ed0]
C [ntdll.dll+0x7e39b]
compiler/arguments/TestCodeEntryAlignment.java
Here's a snippet from the log file:
----------System.err:(32/1580)*----------
stdout: [#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (codeBuffer.cpp:962), pid=11972, tid=28988
# guarantee(sect->end() <= tend) failed: sanity
#
# JRE version: (19.0+11) (build )
# Java VM: OpenJDK 64-Bit Server VM (19-ea+11-655, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler\\scratch\\2\\hs_err_pid11972.mdmp
#
# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_compiler\\scratch\\2\\hs_err_pid11972.log
#
#
];
stderr: []
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at compiler.arguments.TestCodeEntryAlignment.shouldPass(TestCodeEntryAlignment.java:65)
at compiler.arguments.TestCodeEntryAlignment.driver(TestCodeEntryAlignment.java:70)
at compiler.arguments.TestCodeEntryAlignment.main(TestCodeEntryAlignment.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000021ed814f910): JavaThread "Unknown thread" [_thread_in_vm, id=28988, stack(0x0000005780e00000,0x0000005780f00000)]
Stack: [0x0000005780e00000,0x0000005780f00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x69e48a] os::platform_print_native_stack+0xca (os_windows_x86.cpp:235)
V [jvm.dll+0x7fa6fd] VMError::report+0xc4d (vmError.cpp:828)
V [jvm.dll+0x7fc00e] VMError::report_and_die+0x78e (vmError.cpp:1656)
V [jvm.dll+0x7fc677] VMError::report_and_die+0x47 (vmError.cpp:1437)
V [jvm.dll+0x25f10a] report_vm_error+0x8a (debug.cpp:282)
V [jvm.dll+0x21b530] CodeBuffer::verify_section_allocation+0x1a0 (codeBuffer.cpp:962)
V [jvm.dll+0x219263] CodeBuffer::~CodeBuffer+0x13 (codeBuffer.cpp:132)
V [jvm.dll+0x75378a] stubRoutines_init2+0x10a (stubRoutines.cpp:367)
V [jvm.dll+0x38eb07] init_globals+0xc7 (init.cpp:160)
V [jvm.dll+0x7a70f1] Threads::create_vm+0x5a1 (thread.cpp:2809)
V [jvm.dll+0x4117df] JNI_CreateJavaVM_inner+0x8f (jni.cpp:3613)
V [jvm.dll+0x4131b1] JNI_CreateJavaVM+0x11 (jni.cpp:3701)
C [jli.dll+0x526b] JavaMain+0x113 (java.c:411)
C [ucrtbase.dll+0x26b4c]
C [KERNEL32.DLL+0x14ed0]
C [ntdll.dll+0x7e39b]
- relates to
-
JDK-8281936 compiler/arguments/TestCodeEntryAlignment.java fails on AVX512 machines
- Closed
-
JDK-8281467 Allow larger OptoLoopAlignment and CodeEntryAlignment
- Resolved
-
JDK-8283229 compiler/arguments/TestCodeEntryAlignment.java fails with release VMs
- Resolved