-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
2.0
-
x86
-
windows_nt
Name: dkC59003 Date: 01/03/2000
The regression test (testbase_nsk) nsk/regression/b4298656 fails
under the HotSpot Server VM (2.0rc1, build I) on win32.
The test calls recursive_method() in loop.
The second stack overflow causes the test to exit without any message.
It is intermittent error in the mixed mode.
In the compiled mode this error is stable.
But in the interpreted mode HotSpot VM runs the test perfectly.
The HotSpot Client VM (build 1.3-R) fails this test too
(see #4281578).
To reproduce the bug run doit.bat in
/net/sqesvr/vsn/GammaBase/Bugs/<this bug number>.
The first parameter for doit.bat should be JDK root directory
(e.g. L:/java/jdk1.2.2/win32) and the second parameter -
VM option(s) (optional).
The doit.bat file contains the CALL_DEPTH variable which is
the number of recursive calls.
By default the CALL_DEPTH variable equals 1000000.
Logs:
% doit.bat d:/export/java/jdk1.2.2/win32
java version "1.2.2"
Java HotSpot(TM) Server VM (2.0rc1, mixed mode, build I)
==> test b4298656 LOG:
----> depth of recursive calls in recursive_method() = 1000000
----> Attempt_counter = 1: StackOverflow_call_depth = 91859
Exit Status = 128
The expected result of the test is like this:
% doit.bat d:/export/java/jdk1.2.2/win32 -Xint
java version "1.2.2"
Java HotSpot(TM) Server VM (2.0rc1, interpreted mode, build I)
==> test b4298656 LOG:
----> depth of recursive calls in recursive_method() = 1000000
----> Attempt_counter = 1: StackOverflow_call_depth = 28652
----> Attempt_counter = 2: StackOverflow_call_depth = 28880
----> Attempt_counter = 3: StackOverflow_call_depth = 28880
==> test b4298656 PASSED
Exit Status = 95
======================================================================
- duplicates
-
JDK-4283620 Beta : Build G : 1 JCK VM test failed with -repeat flag.
-
- Closed
-
-
JDK-4402735 [server] stack yellow zone not re-enabled after a StackOverflowError
-
- Closed
-
- relates to
-
JDK-4281578 Second stack overflow crashes HotSpot VM
-
- Closed
-