Using the vm flags: -client -XX:CompileThreshold=5 -XX:+LogCompilation on a simple java program, vm crashed with hs_err.
But using -server -XX:CompileThreshold=5 -XX:+LogCompilation, or the invididual flag is fine.
Please see the attached hs_err file.
Hostname: rocketman
uname -a
SunOS rocketman 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-80
#cat Hello.java
class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
bash-2.05# which java
/net/vmsqe/export/nightly/mantis/JDK/service_hs_baseline/jdk1.6/solaris-sparcv9/
bin/java
bash-2.05# java -client -version
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b42)
Java HotSpot(TM) Client VM (build 20050624080310.dcubed.service_hs_merge-debug,
mixed mode)
java -client -XX:CompileThreshold=5 -XX:+LogCompilation Hello
VM option 'CompileThreshold=5'
VM option '+LogCompilation'
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/interfaceSupport.hpp:114]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (/net/prt-solsparc-q1-4/tmp/PrtBuildDir/workspace/src/share/vm
/runtime/interfaceSupport.hpp, 114 [ Patched ]), pid=2513, tid=6
#
# Java VM: Java HotSpot(TM) Client VM (20050624080310.dcubed.service_hs_merge-de
bug mixed mode)
#
# Error: assert(thread->thread_state() == _thread_in_native,"coming from wrong t
hread state")
# An error report file with more information is saved as hs_err_pid2513.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 6
Dumping core ...
Abort
###@###.### 2005-06-29 00:27:41 GMT