-
Bug
-
Resolution: Fixed
-
P4
-
repo-valhalla
This bug was reported by Christian Hagedorn <hagedoch@student.ethz.ch>.
Command line: java -noverify -XX:+EnableMVT -Xint OwnTests
# Internal Error (/oracle/valhalla_cp/hotspot/src/share/vm/memory/vtBuffer.hpp:108), pid=16169, tid=16170
# assert(c->is_valid()) failed: Sanity check
Stack: [0x00007efc2f381000,0x00007efc2f482000], sp=0x00007efc2f47f070, free space=1016k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x136f37e] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5ae
V [libjvm.so+0x136ed2f] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x65
V [libjvm.so+0xa15509] report_vm_error(char const*, int, char const*, char const*, ...)+0x10b
V [libjvm.so+0x3f7bbb] VTBufferChunk::chunk(void*)+0x7f
V [libjvm.so+0x13c26b0] VTBuffer::relocate_return_value(JavaThread*, frame, oopDesc*)+0x15e
V [libjvm.so+0xcf5a96] InterpreterRuntime::return_value(JavaThread*, oopDesc*)+0x3ac
j MyValueType.testBranchArg1(ZQMyValueType;)QMyValueType;+22
j OwnTests.main([Ljava/lang/String;)V+16
v ~StubRoutines::call_stub
V [libjvm.so+0xd162c8] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x65e
V [libjvm.so+0x10f9ff9] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*), JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x41
V [libjvm.so+0xd15c54] JavaCalls::call(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0xaa
V [libjvm.so+0xd33f5d] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x1e3
V [libjvm.so+0xd4a699] jni_CallStaticVoidMethod+0x33a
C [libjli.so+0x4971] JavaMain+0xc7b
C [libpthread.so.0+0x76ba] start_thread+0xca
Command line: java -noverify -XX:+EnableMVT -Xint OwnTests
# Internal Error (/oracle/valhalla_cp/hotspot/src/share/vm/memory/vtBuffer.hpp:108), pid=16169, tid=16170
# assert(c->is_valid()) failed: Sanity check
Stack: [0x00007efc2f381000,0x00007efc2f482000], sp=0x00007efc2f47f070, free space=1016k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x136f37e] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x5ae
V [libjvm.so+0x136ed2f] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x65
V [libjvm.so+0xa15509] report_vm_error(char const*, int, char const*, char const*, ...)+0x10b
V [libjvm.so+0x3f7bbb] VTBufferChunk::chunk(void*)+0x7f
V [libjvm.so+0x13c26b0] VTBuffer::relocate_return_value(JavaThread*, frame, oopDesc*)+0x15e
V [libjvm.so+0xcf5a96] InterpreterRuntime::return_value(JavaThread*, oopDesc*)+0x3ac
j MyValueType.testBranchArg1(ZQMyValueType;)QMyValueType;+22
j OwnTests.main([Ljava/lang/String;)V+16
v ~StubRoutines::call_stub
V [libjvm.so+0xd162c8] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x65e
V [libjvm.so+0x10f9ff9] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*), JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x41
V [libjvm.so+0xd15c54] JavaCalls::call(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0xaa
V [libjvm.so+0xd33f5d] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x1e3
V [libjvm.so+0xd4a699] jni_CallStaticVoidMethod+0x33a
C [libjli.so+0x4971] JavaMain+0xc7b
C [libpthread.so.0+0x76ba] start_thread+0xca