Using 6.0 build 93 binaries for sparc, -XX:+ZeroTLAB consistently fails using both client and server compilers. Since this is the default runtime setting for PA and IPF, this is a significant issue for the current 6.0 port -- both PA and IPF beta1 versions see this problem.
To reproduce this problem on solaris/sparc, use the following command:
java -Xcomp -XX:+ZeroTLAB -XX:+PrintCompilation -version
Fails with the following report:
1 b java.lang.Thread::<init> (49 bytes)
2 b java.lang.Thread::init (188 bytes)
3 b java.lang.System::getSecurityManager (4 bytes)
4 !b java.lang.ThreadGroup::addUnstarted (40 bytes)
5 b java.lang.String::getChars (66 bytes)
--- n java.lang.System::arraycopy (static)
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xfe87cdfc, pid=2163, tid=2
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0-beta-b59 compiled mode)
# Problematic frame:
# V [libjvm.so+0x7cdfc]
#
# An error report file with more information is saved as
hs_err_pid2163.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort
To reproduce this problem on solaris/sparc, use the following command:
java -Xcomp -XX:+ZeroTLAB -XX:+PrintCompilation -version
Fails with the following report:
1 b java.lang.Thread::<init> (49 bytes)
2 b java.lang.Thread::init (188 bytes)
3 b java.lang.System::getSecurityManager (4 bytes)
4 !b java.lang.ThreadGroup::addUnstarted (40 bytes)
5 b java.lang.String::getChars (66 bytes)
--- n java.lang.System::arraycopy (static)
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xfe87cdfc, pid=2163, tid=2
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0-beta-b59 compiled mode)
# Problematic frame:
# V [libjvm.so+0x7cdfc]
#
# An error report file with more information is saved as
hs_err_pid2163.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort