-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
17
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test (compiler.c2.aarch64.TestVectorShiftShorts) on JDK 17.0.8 and I found it crashes JVM with infinite loop.
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/phaseX.cpp:1177), pid=616835, tid=616848
# assert(false) failed: infinite loop in PhaseIterGVN::optimize
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x29ae209] PhaseIterGVN::dump_infinite_loop_info(Node*, char const*)+0x69
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/TestVectorShiftShorts_07_27_18_47_14/core.616835)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xcomp -XX:LoopUnrollLimit=536870911 compiler.c2.aarch64.TestVectorShiftShorts
ACTUAL -
//...
ig=1521,1323,858,550,[639] !jvms: TestVectorShiftShorts::test_urshift @ bci:18 (line 157) TestVectorShiftShorts::main @ bci:33 (line 53)
8562--> 60800 StoreC === 78741 60803 5946 60801 [[ 60797 60799 ]] @short[int:>=0]:exact+any *, idx=6; Memory: @short[int:1000]:NotNull:exact[470] *, idx=6; !orig=5180,2893,2158,1320,550,[639] !jvms: TestVectorShiftShorts::test_urshift @ bci:18 (line 157) TestVectorShiftShorts::main @ bci:33 (line 53)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/phaseX.cpp:1177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/phaseX.cpp:1177), pid=616835, tid=616848
# assert(false) failed: infinite loop in PhaseIterGVN::optimize
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x29ae209] PhaseIterGVN::dump_infinite_loop_info(Node*, char const*)+0x69
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/TestVectorShiftShorts_07_27_18_47_14/core.616835)
#
# An error report file with more information is saved as:
# /data/bugs/TestVectorShiftShorts_07_27_18_47_14/hs_err_pid616835.log
#
# Compiler replay data is saved as:
# /data/bugs/TestVectorShiftShorts_07_27_18_47_14/replay_pid616835.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
FREQUENCY : always
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test (compiler.c2.aarch64.TestVectorShiftShorts) on JDK 17.0.8 and I found it crashes JVM with infinite loop.
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/phaseX.cpp:1177), pid=616835, tid=616848
# assert(false) failed: infinite loop in PhaseIterGVN::optimize
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x29ae209] PhaseIterGVN::dump_infinite_loop_info(Node*, char const*)+0x69
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/TestVectorShiftShorts_07_27_18_47_14/core.616835)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xcomp -XX:LoopUnrollLimit=536870911 compiler.c2.aarch64.TestVectorShiftShorts
ACTUAL -
//...
ig=1521,1323,858,550,[639] !jvms: TestVectorShiftShorts::test_urshift @ bci:18 (line 157) TestVectorShiftShorts::main @ bci:33 (line 53)
8562--> 60800 StoreC === 78741 60803 5946 60801 [[ 60797 60799 ]] @short[int:>=0]:exact+any *, idx=6; Memory: @short[int:1000]:NotNull:exact[470] *, idx=6; !orig=5180,2893,2158,1320,550,[639] !jvms: TestVectorShiftShorts::test_urshift @ bci:18 (line 157) TestVectorShiftShorts::main @ bci:33 (line 53)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/phaseX.cpp:1177
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk17u/src/hotspot/share/opto/phaseX.cpp:1177), pid=616835, tid=616848
# assert(false) failed: infinite loop in PhaseIterGVN::optimize
#
# JRE version: OpenJDK Runtime Environment (17.0.8) (fastdebug build 17.0.8-internal+0-adhoc.jdk17u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17.0.8-internal+0-adhoc.jdk17u, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x29ae209] PhaseIterGVN::dump_infinite_loop_info(Node*, char const*)+0x69
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/TestVectorShiftShorts_07_27_18_47_14/core.616835)
#
# An error report file with more information is saved as:
# /data/bugs/TestVectorShiftShorts_07_27_18_47_14/hs_err_pid616835.log
#
# Compiler replay data is saved as:
# /data/bugs/TestVectorShiftShorts_07_27_18_47_14/replay_pid616835.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-8313717 C2: assert(false) failed: infinite loop in PhaseIterGVN::optimize
-
- Closed
-