-
Bug
-
Resolution: Duplicate
-
P2
-
9
A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (hotspot/src/share/vm/opto/compile.cpp:1712), pid=4434, tid=4469
# assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
Current thread (0xce609400): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=4469, stack(0xce37f000,0xce400000)]
Current CompileTask:
C2: 1415 92 % compiler.unsafe.SunMiscUnsafeAccessTestObject::testFieldInstance @ 10 (31 bytes)
Stack: [0xce37f000,0xce400000], sp=0xce3fd3f0, free space=504k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x14b7f77] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned int)+0x137
V [libjvm.so+0x14b8c70] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, char*)+0x30
V [libjvm.so+0x9350a0] report_vm_error(char const*, int, char const*, char const*, ...)+0x60
V [libjvm.so+0x8a4dac] Compile::find_alias_type(TypePtr const*, bool, ciField*)+0x77c
V [libjvm.so+0x8a7f2d] Compile::final_graph_reshaping_impl(Node*, Final_Reshape_Counts&) [clone .part.321]+0x2fd
V [libjvm.so+0x8b0429] Compile::final_graph_reshaping()+0x359
V [libjvm.so+0x8b31c6] Compile::Optimize()+0xfc6
V [libjvm.so+0x8b4352] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1052
V [libjvm.so+0x6f91de] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x37e
V [libjvm.so+0x8bfac1] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x421
V [libjvm.so+0x8c062b] CompileBroker::compiler_thread_loop()+0x22b
V [libjvm.so+0x140c118] compiler_thread_entry(JavaThread*, Thread*)+0x28
V [libjvm.so+0x141fa80] JavaThread::thread_main_inner()+0x220
V [libjvm.so+0x141fd3f] JavaThread::run()+0x1ef
V [libjvm.so+0x1183944] thread_native_entry(Thread*)+0x124
C [libpthread.so.0+0x6b2c] start_thread+0xcc
C [libc.so.6+0xf75fe] clone+0x5e
#
# Internal Error (hotspot/src/share/vm/opto/compile.cpp:1712), pid=4434, tid=4469
# assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
Current thread (0xce609400): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=4469, stack(0xce37f000,0xce400000)]
Current CompileTask:
C2: 1415 92 % compiler.unsafe.SunMiscUnsafeAccessTestObject::testFieldInstance @ 10 (31 bytes)
Stack: [0xce37f000,0xce400000], sp=0xce3fd3f0, free space=504k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x14b7f77] VMError::report_and_die(int, char const*, char const*, char*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned int)+0x137
V [libjvm.so+0x14b8c70] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, char*)+0x30
V [libjvm.so+0x9350a0] report_vm_error(char const*, int, char const*, char const*, ...)+0x60
V [libjvm.so+0x8a4dac] Compile::find_alias_type(TypePtr const*, bool, ciField*)+0x77c
V [libjvm.so+0x8a7f2d] Compile::final_graph_reshaping_impl(Node*, Final_Reshape_Counts&) [clone .part.321]+0x2fd
V [libjvm.so+0x8b0429] Compile::final_graph_reshaping()+0x359
V [libjvm.so+0x8b31c6] Compile::Optimize()+0xfc6
V [libjvm.so+0x8b4352] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1052
V [libjvm.so+0x6f91de] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x37e
V [libjvm.so+0x8bfac1] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x421
V [libjvm.so+0x8c062b] CompileBroker::compiler_thread_loop()+0x22b
V [libjvm.so+0x140c118] compiler_thread_entry(JavaThread*, Thread*)+0x28
V [libjvm.so+0x141fa80] JavaThread::thread_main_inner()+0x220
V [libjvm.so+0x141fd3f] JavaThread::run()+0x1ef
V [libjvm.so+0x1183944] thread_native_entry(Thread*)+0x124
C [libpthread.so.0+0x6b2c] start_thread+0xcc
C [libc.so.6+0xf75fe] clone+0x5e
- duplicates
-
JDK-8155635 C2: Mixed unsafe oop accesses break alias analysis
-
- Closed
-