-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
beta3
-
sparc
-
solaris_8
-
Verified
Name: abR10010 Date: 08/15/2001
The HotSpot Server VM (build 1.4.0-beta_refresh-b75, mixed mode) takes too
long time for nsk/regression/b4249840 test execution on Solsparc
and therefore the test fails by timeout when running under Tonga.
On other platforms (win, solx86, linux-i386) the test passes as well
as it passes under the HotSpot Client VM on Solsparc and it
takes within 50 seconds for execution.
But the build 1.4.0-beta_refresh-b75 takes about 1 hour for this
test execution in "-server" mode.
Such behavior of b4249840 test happens starting with the build 1.4.0-beta-b59.
The build 1.4.0-beta-b58 passes the b4249840 test and it takes
about 45 seconds for the test execution in "-server" mode.
The nsk/regression/b4249840 test source:
===============================================================================
// File: @(#)b4249840.java 1.1 99/07/08
// Copyright 07/08/99 Sun Microsystems, Inc. All Rights Reserved
public class b4249840 {
b4249840 next;
public static void main(String[] args) throws Exception {
b4249840 p, q;
p = new b4249840 ();
try {
while (p != null) {
q = new b4249840 ();
q.next = p;
p = q;
}
System.out.println("OutOfMemoryError not thrown as expected.");
System.exit(97/*STATUS_FAILED*/);
} catch (OutOfMemoryError e) {
p = null;
q = null;
System.exit(95/*STATUS_PASSED*/);
}
}
}
===============================================================================
======================================================================