When a java program uses a lot of local variables,
hotspot crashes.
CONFIGURATION :
JRE/JDK : JDK6.0b22/JDK5.0fcs/1.4.2_07
OS : Solaris8
(SunOS goedel 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60)
REPRODUCE :
1) Compile the attached program(INT_TEST_3.java)
2) Launch "java INT_TEST_3"
You will see the following messages in terminal windows and a log file
is created under current directory.
goedel[25]% java -showversion INT_TEST_3
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b22)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b22, mixed mode)
START
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xf889db9c, pid=20000, tid=11
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-ea-b22 mixed mode)
# Problematic frame:
# J INT_TEST_3.TEST_FUNC()I
#
# An error report file with more information is saved as hs_err_pid20000.lo
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Abort
NOTE:
Hotspot does not seem to handle the case that stack offset becomes
larger than 4096 on OSR.
This seems to cause the reported issue...
###@###.### 2005-2-09 02:33:41 GMT