-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta2
-
sparc
-
solaris_8
-
Verified
Name: egR10015 Date: 04/17/2001
HotSpot 1.4.0-beta-b60 fails to pass the following tests
nsk/stress/stack/stack017
nsk/stress/stack/stack018
from testbase_nsk on solsparcv9 platform in 64-bit server mixed mode
and 64-bit server compiled mode.
Both debug VM and non-debug VM crash with segmentation fault.
Note that the VM crash is never observing in 64-bit server interpreted
mode.
The tests mentioned above provoke multiple stack overflows by invocations
via reflection (see the file stack018.java) and by invocations
infinitely recursive method from within stack overflow handler (see
the file stack017.java) -- repeatedly multiple times, and in multiple
threads. The tests are deemed passed, if VM have not crashed, and
if exception other than due to stack overflow was not thrown.
Platform details:
=================
SUNW Ultra-60, CPU sparcv9 450MHz, RAM 512Mb, OS SunOS 5.8 Generic_108528-03
To reproduce the bug run with HS1.4 on solsparcv9
sh doit17.sh $JAVA_HOME [$VM_MODE] for the test stack017
or
sh doit18.sh $JAVA_HOME [$VM_MODE] for the test stack018
in
/net/sqesvr.eng/export/vsn/GammaBase/Bugs/<this bug number>
where $VM_MODE are -Xint,-Xcomp,-Xmixed or an empty value
---------- output on Solaris/SPARCV9 with HS 1.4.0-beta-b60 ----------
$ sh doit18.sh ~/hotspot/jdk1.4/solsparc
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta-b60, mixed mode)
Max. depth: 510
Segmentation Fault
exit code = 139
----------------------------------------------------------------------
--- output on Solaris/SPARCV9 with HS 1.4.0-beta-b60 in -Xint mode ---
$ sh doit18.sh ~/hotspot/jdk1.4/solsparc -Xint
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta-b60, interpreted mode)
Max. depth: 450
exit code = 95
----------------------------------------------------------------------
======================================================================