To reproduce start up Netbeans 7.3beta2 and add HotSpot as a source project. During parsing of the source files the assert is triggered.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/cthaling/hotspot/src/share/vm/opto/cfgnode.cpp:974), pid=288, tid=17
# assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr())) failed:
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b68) (build 1.8.0-ea-b68)
# Java VM: Java HotSpot(TM) Server VM (25.0-b11-internal-jvmg mixed mode solaris-sparc )
# Core dump written. Default location: /home/cthaling/netbeans-7.3beta2-201211062253/bin/core or core.288
#
# An error report file with more information is saved as:
# /home/cthaling/netbeans-7.3beta2-201211062253/bin/hs_err_pid288.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 17
(dbx) where
current thread: t@17
[1] __waitid(0x0, 0x8b8, 0xc3afbfa0, 0x3, 0x0, 0x0), at 0xff25a2c4
[2] waitid(0x0, 0x8b8, 0xc3afbfa0, 0x3, 0x0, 0x0), at 0xff248000
[3] waitpid(0x8b8, 0xc3afc084, 0x0, 0xfd167a40, 0x0, 0x8b8), at 0xff20b9e8
=>[4] os::fork_and_exec(cmd = 0xff0516a0 "dbx - 2106"), line 6340 in "os_solaris.cpp"
[5] VMError::show_message_box(this = 0xc3afc3fc, buf = 0xff0516a0 "dbx - 2106", buflen = 2000), line 56 in "vmError_solaris.cpp"
[6] VMError::report_and_die(this = 0xc3afc3fc), line 841 in "vmError.cpp"
[7] report_vm_error(file = 0xfea88a7d "/home/cthaling/hotspot/src/share/vm/opto/cfgnode.cpp", line = 974, error_msg = 0xfea88ab2 "assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr())) failed", detail_msg = 0xfea88b3b ""), line 223 in "debug.cpp"
[8] PhiNode::Value(this = 0x27e7320, phase = 0xc3afe6c0), line 974 in "cfgnode.cpp"
[9] PhaseIterGVN::transform_old(this = 0xc3afe6c0, n = 0x27e7320), line 1087 in "phaseX.cpp"
[10] PhaseIterGVN::optimize(this = 0xc3afe6c0), line 908 in "phaseX.cpp"
[11] PhaseIdealLoop::build_and_optimize(this = 0xc3afd0b4, do_split_ifs = true, skip_loop_opts = false), line 2193 in "loopnode.cpp"
[12] PhaseIdealLoop::PhaseIdealLoop(this = 0xc3afd0b4, igvn = CLASS, do_split_ifs = true, skip_loop_opts = false), line 773 in "loopnode.hpp"
[13] Compile::Optimize(this = 0xc3aff250), line 1884 in "compile.cpp"
[14] Compile::Compile(this = 0xc3aff250, ci_env = 0xc3aff8bc, compiler = 0x3a7da0, target = 0x76a4c8, osr_bci = -1, subsume_loads = true, do_escape_analysis = true), line 793 in "compile.cpp"
[15] C2Compiler::compile_method(this = 0x3a7da0, env = 0xc3aff8bc, target = 0x76a4c8, entry_bci = -1), line 130 in "c2compiler.cpp"
[16] CompileBroker::invoke_compiler_on_method(task = 0x106b588), line 1799 in "compileBroker.cpp"
[17] CompileBroker::compiler_thread_loop(), line 1638 in "compileBroker.cpp"
[18] compiler_thread_entry(thread = 0x3cb800, __the_thread__ = 0x3cb800), line 3208 in "thread.cpp"
[19] JavaThread::thread_main_inner(this = 0x3cb800), line 1687 in "thread.cpp"
[20] JavaThread::run(this = 0x3cb800), line 1667 in "thread.cpp"
[21] java_start(thread_addr = 0x3cb800), line 1060 in "os_solaris.cpp"
(dbx) fr 8
Current function is PhiNode::Value
974 ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
(dbx) l -w
969 if( jtkp && ttkp ) {
970 if( jtkp->is_loaded() && jtkp->klass()->is_interface() &&
971 !jtkp->klass_is_exact() && // Keep exact interface klass (6894807)
972 ttkp->is_loaded() && !ttkp->klass()->is_interface() ) {
973 assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) ||
974 ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
975 jt = ft;
976 }
977 }
978 if (jt != ft && jt->base() == ft->base()) {
979 if (jt->isa_int() &&
(dbx) dump
jtkp = 0x13894d8
jtp = 0x13894d8
jtip = (nil)
l = (nil)
phase = 0xc3afe6c0
jt = 0x13894d8
ttip = (nil)
this = 0x27e7320
is_intf = false
ft = 0x13894d8
ttp = 0x3df738
t = 0x13894d8
ttkp = 0x3df738
r = 0x48e8b28
(dbx) ignore SEGV
(dbx) p ft->dump()
klass org/netbeans/modules/cnd/api/model/CsmType: 0x0076a650 *ft->dump() = (void)
(dbx) p jtkp->dump()
klass org/netbeans/modules/cnd/api/model/CsmType: 0x0076a650 *jtkp->dump() = (void)
(dbx) p ttkp->dump()
klass java/lang/Object: 0x00065a48 *ttkp->dump() = (void)
(dbx) p jtkp->ptr()
jtkp->ptr() = NotNull
(dbx) p ttkp->cast_to_ptr_type(jtkp->ptr())
ttkp->cast_to_ptr_type(jtkp->ptr()) = 0x3df738
(dbx) p ttkp->cast_to_ptr_type(jtkp->ptr())->dump()
klass java/lang/Object: 0x00065a48 *ttkp->cast_to_ptr_type(jtkp->ptr())->dump() = (void)
(dbx)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/cthaling/hotspot/src/share/vm/opto/cfgnode.cpp:974), pid=288, tid=17
# assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr())) failed:
#
# JRE version: Java(TM) SE Runtime Environment (8.0-b68) (build 1.8.0-ea-b68)
# Java VM: Java HotSpot(TM) Server VM (25.0-b11-internal-jvmg mixed mode solaris-sparc )
# Core dump written. Default location: /home/cthaling/netbeans-7.3beta2-201211062253/bin/core or core.288
#
# An error report file with more information is saved as:
# /home/cthaling/netbeans-7.3beta2-201211062253/bin/hs_err_pid288.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 17
(dbx) where
current thread: t@17
[1] __waitid(0x0, 0x8b8, 0xc3afbfa0, 0x3, 0x0, 0x0), at 0xff25a2c4
[2] waitid(0x0, 0x8b8, 0xc3afbfa0, 0x3, 0x0, 0x0), at 0xff248000
[3] waitpid(0x8b8, 0xc3afc084, 0x0, 0xfd167a40, 0x0, 0x8b8), at 0xff20b9e8
=>[4] os::fork_and_exec(cmd = 0xff0516a0 "dbx - 2106"), line 6340 in "os_solaris.cpp"
[5] VMError::show_message_box(this = 0xc3afc3fc, buf = 0xff0516a0 "dbx - 2106", buflen = 2000), line 56 in "vmError_solaris.cpp"
[6] VMError::report_and_die(this = 0xc3afc3fc), line 841 in "vmError.cpp"
[7] report_vm_error(file = 0xfea88a7d "/home/cthaling/hotspot/src/share/vm/opto/cfgnode.cpp", line = 974, error_msg = 0xfea88ab2 "assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr())) failed", detail_msg = 0xfea88b3b ""), line 223 in "debug.cpp"
[8] PhiNode::Value(this = 0x27e7320, phase = 0xc3afe6c0), line 974 in "cfgnode.cpp"
[9] PhaseIterGVN::transform_old(this = 0xc3afe6c0, n = 0x27e7320), line 1087 in "phaseX.cpp"
[10] PhaseIterGVN::optimize(this = 0xc3afe6c0), line 908 in "phaseX.cpp"
[11] PhaseIdealLoop::build_and_optimize(this = 0xc3afd0b4, do_split_ifs = true, skip_loop_opts = false), line 2193 in "loopnode.cpp"
[12] PhaseIdealLoop::PhaseIdealLoop(this = 0xc3afd0b4, igvn = CLASS, do_split_ifs = true, skip_loop_opts = false), line 773 in "loopnode.hpp"
[13] Compile::Optimize(this = 0xc3aff250), line 1884 in "compile.cpp"
[14] Compile::Compile(this = 0xc3aff250, ci_env = 0xc3aff8bc, compiler = 0x3a7da0, target = 0x76a4c8, osr_bci = -1, subsume_loads = true, do_escape_analysis = true), line 793 in "compile.cpp"
[15] C2Compiler::compile_method(this = 0x3a7da0, env = 0xc3aff8bc, target = 0x76a4c8, entry_bci = -1), line 130 in "c2compiler.cpp"
[16] CompileBroker::invoke_compiler_on_method(task = 0x106b588), line 1799 in "compileBroker.cpp"
[17] CompileBroker::compiler_thread_loop(), line 1638 in "compileBroker.cpp"
[18] compiler_thread_entry(thread = 0x3cb800, __the_thread__ = 0x3cb800), line 3208 in "thread.cpp"
[19] JavaThread::thread_main_inner(this = 0x3cb800), line 1687 in "thread.cpp"
[20] JavaThread::run(this = 0x3cb800), line 1667 in "thread.cpp"
[21] java_start(thread_addr = 0x3cb800), line 1060 in "os_solaris.cpp"
(dbx) fr 8
Current function is PhiNode::Value
974 ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
(dbx) l -w
969 if( jtkp && ttkp ) {
970 if( jtkp->is_loaded() && jtkp->klass()->is_interface() &&
971 !jtkp->klass_is_exact() && // Keep exact interface klass (6894807)
972 ttkp->is_loaded() && !ttkp->klass()->is_interface() ) {
973 assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) ||
974 ft->isa_narrowoop() && ft->make_ptr() == ttkp->cast_to_ptr_type(jtkp->ptr()), "");
975 jt = ft;
976 }
977 }
978 if (jt != ft && jt->base() == ft->base()) {
979 if (jt->isa_int() &&
(dbx) dump
jtkp = 0x13894d8
jtp = 0x13894d8
jtip = (nil)
l = (nil)
phase = 0xc3afe6c0
jt = 0x13894d8
ttip = (nil)
this = 0x27e7320
is_intf = false
ft = 0x13894d8
ttp = 0x3df738
t = 0x13894d8
ttkp = 0x3df738
r = 0x48e8b28
(dbx) ignore SEGV
(dbx) p ft->dump()
klass org/netbeans/modules/cnd/api/model/CsmType: 0x0076a650 *ft->dump() = (void)
(dbx) p jtkp->dump()
klass org/netbeans/modules/cnd/api/model/CsmType: 0x0076a650 *jtkp->dump() = (void)
(dbx) p ttkp->dump()
klass java/lang/Object: 0x00065a48 *ttkp->dump() = (void)
(dbx) p jtkp->ptr()
jtkp->ptr() = NotNull
(dbx) p ttkp->cast_to_ptr_type(jtkp->ptr())
ttkp->cast_to_ptr_type(jtkp->ptr()) = 0x3df738
(dbx) p ttkp->cast_to_ptr_type(jtkp->ptr())->dump()
klass java/lang/Object: 0x00065a48 *ttkp->cast_to_ptr_type(jtkp->ptr())->dump() = (void)
(dbx)
- duplicates
-
JDK-8027140 Assertion in compiler when running bigapps/Kitchensink/stability
-
- Closed
-
- relates to
-
JDK-8027140 Assertion in compiler when running bigapps/Kitchensink/stability
-
- Closed
-