-
Bug
-
Resolution: Fixed
-
P1
-
2.0
-
beta
-
x86
-
windows_nt
Name: dkC59003 Date: 09/14/99
HotSpot Server 2.0beta-C crashes with Segmentation violation
while running the test nsk/regression/b4249840.
1.3.0-E passes the test.
Log and test source follow:
$ java -version
java version "1.2.2"
Java(TM) HotSpot Server VM (2.0beta, mixed mode, build C)
$ java b4249840
[1] + Done(139) ?
913 Segmentation violation d:/jdk1.2.2/bin/java
------------------------------------------------------------- b4249840.java
public class b4249840 {
b4249840 next;
public static void main(String[] args) throws Exception {
=09b4249840 p, q;
=09p =3D new b4249840 ();
=09try {
=09 while (p !=3D null) {
=09=09q =3D new b4249840 ();
=09=09q.next =3D p;
=09=09p =3D q;
=09 }
=09 System.out.println("OutOfMemoryError not thrown as expected.");
=09 System.exit(97/*STATUS_FAILED*/);
=09} catch (OutOfMemoryError e) {
=09 p =3D null;
q =3D null;
System.exit(95/*STATUS_PASSED*/);
=09}
}
}
======================================================================
- relates to
-
JDK-4249840 1.0.1: Crash in OSR compile
-
- Resolved
-