HS24 crashes during register allocation with assert:
;; Using jvm: "/export/local/common/jdk/baseline/linux-amd64/jre/lib/amd64/server/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-dev/520/hotspot/src/share/vm/opto/coalesce.cpp:147), pid=13279, tid=140488606156544
# assert(_cfg._bbs[proj->_idx] == borig) failed: incorrect block for kill projections
#
# JRE version: Java(TM) SE Runtime Environment (7.0_60-b01) (build 1.7.0_60-ea-fastdebug-langtools-nightly-h520-20131216-b01-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.60-b03-fastdebug compiled mode linux-amd64 compressed oops)
# Core dump written. Default location: /export/local/333155.JAVASE.NIGHTLY.VM.7u60_Nightly_Baseline.2013-12-16.linux-amd64_javase__server_comp_JT_JDK_java_util.runTests/results/workDir/java/util/EnumSet/EnumSetBash/core or core.13279
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007fc61412f800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=13287, stack(0x00007fc60d670000,0x00007fc60d771000)]
Stack: [0x00007fc60d670000,0x00007fc60d771000], sp=0x00007fc60d76bcb0, free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xdc3d72] VMError::report_and_die()+0x302;; VMError::report_and_die()+0x302
V [libjvm.so+0x69ab84] report_vm_error(char const*, int, char const*, char const*)+0x84;; report_vm_error(char const*, int, char const*, char const*)+0x84
V [libjvm.so+0x5d28bc] PhaseChaitin::clone_projs(Block*, unsigned int, Node*, Node*, unsigned int&)+0x1ec;; PhaseChaitin::clone_projs(Block*, unsigned int, Node*, Node*, unsigned int&)+0x1ec
V [libjvm.so+0x5d51ad] PhaseAggressiveCoalesce::insert_copies(Matcher&)+0x15ad;; PhaseAggressiveCoalesce::insert_copies(Matcher&)+0x15ad
V [libjvm.so+0x5544d0] PhaseChaitin::Register_Allocate()+0x300;; PhaseChaitin::Register_Allocate()+0x300
V [libjvm.so+0x61b1bf] Compile::Code_Gen()+0x42f;; Compile::Code_Gen()+0x42f
V [libjvm.so+0x61fba1] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x17f1;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x17f1
V [libjvm.so+0x5252b0] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x250;; C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x250
V [libjvm.so+0x62aa19] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x579;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x579
V [libjvm.so+0x62bce4] CompileBroker::compiler_thread_loop()+0x524;; CompileBroker::compiler_thread_loop()+0x524
V [libjvm.so+0xd5d214] JavaThread::thread_main_inner()+0x194;; JavaThread::thread_main_inner()+0x194
V [libjvm.so+0xd5d4b9] JavaThread::run()+0x259;; JavaThread::run()+0x259
V [libjvm.so+0xb98fb8] java_start(Thread*)+0x108;; java_start(Thread*)+0x108
I was able to reproduce this issue only with "-Xcomp -server -XX:+TieredCompilation" opts.
Issue looks similar to JDK-8029446, but I was not able to reproduce it with JDK8/hs25, so I think it could be a distinct issue.
;; Using jvm: "/export/local/common/jdk/baseline/linux-amd64/jre/lib/amd64/server/libjvm.so"
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/HUDSON/workspace/7u-2-build-linux-amd64/jdk7u-dev/520/hotspot/src/share/vm/opto/coalesce.cpp:147), pid=13279, tid=140488606156544
# assert(_cfg._bbs[proj->_idx] == borig) failed: incorrect block for kill projections
#
# JRE version: Java(TM) SE Runtime Environment (7.0_60-b01) (build 1.7.0_60-ea-fastdebug-langtools-nightly-h520-20131216-b01-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.60-b03-fastdebug compiled mode linux-amd64 compressed oops)
# Core dump written. Default location: /export/local/333155.JAVASE.NIGHTLY.VM.7u60_Nightly_Baseline.2013-12-16.linux-amd64_javase__server_comp_JT_JDK_java_util.runTests/results/workDir/java/util/EnumSet/EnumSetBash/core or core.13279
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007fc61412f800): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=13287, stack(0x00007fc60d670000,0x00007fc60d771000)]
Stack: [0x00007fc60d670000,0x00007fc60d771000], sp=0x00007fc60d76bcb0, free space=1007k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xdc3d72] VMError::report_and_die()+0x302;; VMError::report_and_die()+0x302
V [libjvm.so+0x69ab84] report_vm_error(char const*, int, char const*, char const*)+0x84;; report_vm_error(char const*, int, char const*, char const*)+0x84
V [libjvm.so+0x5d28bc] PhaseChaitin::clone_projs(Block*, unsigned int, Node*, Node*, unsigned int&)+0x1ec;; PhaseChaitin::clone_projs(Block*, unsigned int, Node*, Node*, unsigned int&)+0x1ec
V [libjvm.so+0x5d51ad] PhaseAggressiveCoalesce::insert_copies(Matcher&)+0x15ad;; PhaseAggressiveCoalesce::insert_copies(Matcher&)+0x15ad
V [libjvm.so+0x5544d0] PhaseChaitin::Register_Allocate()+0x300;; PhaseChaitin::Register_Allocate()+0x300
V [libjvm.so+0x61b1bf] Compile::Code_Gen()+0x42f;; Compile::Code_Gen()+0x42f
V [libjvm.so+0x61fba1] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x17f1;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool)+0x17f1
V [libjvm.so+0x5252b0] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x250;; C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x250
V [libjvm.so+0x62aa19] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x579;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x579
V [libjvm.so+0x62bce4] CompileBroker::compiler_thread_loop()+0x524;; CompileBroker::compiler_thread_loop()+0x524
V [libjvm.so+0xd5d214] JavaThread::thread_main_inner()+0x194;; JavaThread::thread_main_inner()+0x194
V [libjvm.so+0xd5d4b9] JavaThread::run()+0x259;; JavaThread::run()+0x259
V [libjvm.so+0xb98fb8] java_start(Thread*)+0x108;; java_start(Thread*)+0x108
I was able to reproduce this issue only with "-Xcomp -server -XX:+TieredCompilation" opts.
Issue looks similar to JDK-8029446, but I was not able to reproduce it with JDK8/hs25, so I think it could be a distinct issue.
- duplicates
-
JDK-8134575 assert(_cfg._bbs[proj->_idx] == borig) failed: incorrect block for kill projections
- Closed