Running java with MinTLABSize=4294967296 and Parallel or Serial GC on Sparcv9 can hit SIGSEGV:
java -XX:+UseParallelGC -XX:MinTLABSize=4294967296 TestGCOld 10 10 10 10 10
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xffffffff63618c6c, pid=27816, tid=2
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-03-10-212736.kab.hs-rt)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-03-10-212736.kab.hs-rt, mixed mode, tiered, compressed oops, parallel gc, solaris-sparc)
# Problematic frame:
# v ~RuntimeStub::fast_new_instance Runtime1 stub
#
...
hs_err_pid27816.log is attached.
Also, can be reproduced by running javac:
javac -J-XX:+UseParallelGC -J-XX:MinTLABSize=4294967296 HelloWorld.java
Sometimes, java hit assert instead of SIGSEGV:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/jprt/T/P1/212736.kab/s/hotspot/src/share/vm/gc/shared/collectedHeap.cpp:444), pid=27820, tid=2
# assert(Universe::heap()->is_in_reserved(start + words - 1)) failed: not in heap
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-03-10-212736.kab.hs-rt)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-03-10-212736.kab.hs-rt, mixed mode, tiered, compressed oops, parallel gc, solaris-sparc)
# Core dump will be written. Default location: /tmp/dd/bin/core or core.27820
#
...
hs_err_pid27820.log is attached.
Problem observed only on Sparcv9.
java -XX:+UseParallelGC -XX:MinTLABSize=4294967296 TestGCOld 10 10 10 10 10
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xffffffff63618c6c, pid=27816, tid=2
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-03-10-212736.kab.hs-rt)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-03-10-212736.kab.hs-rt, mixed mode, tiered, compressed oops, parallel gc, solaris-sparc)
# Problematic frame:
# v ~RuntimeStub::fast_new_instance Runtime1 stub
#
...
hs_err_pid27816.log is attached.
Also, can be reproduced by running javac:
javac -J-XX:+UseParallelGC -J-XX:MinTLABSize=4294967296 HelloWorld.java
Sometimes, java hit assert instead of SIGSEGV:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/jprt/T/P1/212736.kab/s/hotspot/src/share/vm/gc/shared/collectedHeap.cpp:444), pid=27820, tid=2
# assert(Universe::heap()->is_in_reserved(start + words - 1)) failed: not in heap
#
# JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-03-10-212736.kab.hs-rt)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-03-10-212736.kab.hs-rt, mixed mode, tiered, compressed oops, parallel gc, solaris-sparc)
# Core dump will be written. Default location: /tmp/dd/bin/core or core.27820
#
...
hs_err_pid27820.log is attached.
Problem observed only on Sparcv9.
- duplicates
-
JDK-8153891 TestOptionsWithRanges with -XX:MinTLABSize=4294967296 hits assert
-
- Closed
-
- relates to
-
JDK-8152118 MinTLABSize should be less than TLAB max
-
- Resolved
-