|
Quick Lists
|
|
Bug ID:
|
4302289
|
|
Votes
|
0
|
|
Synopsis
|
the second stack overflow causes HotSpot Server VM to exit on win32
|
|
Category
|
hotspot:runtime_system
|
|
Reported Against
|
2.0
, 2.0_rc1
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4402735,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4281578
,
4283620
,
4402735
|
|
Submit Date
|
03-JAN-2000
|
|
Description
|
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
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
xxxxx@xxxxx 2000-02-08
This is a priority for Merlin release.
xxxxx@xxxxx 2001-05-22
Fixed by John Coomes' putback to main/baseline on 2001/03/19 - 031958
This putback reenables the stack's guard pages after throwing the StackOverflowException.
Fixed Bugs 4402735 and 4377621 and 4298656. This is a dup of 4402735.
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |