-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
kestrel
-
sparc
-
solaris_7
Name: ipC94532 Date: 11/26/99
Hotspot crashes at huge multidimensional array creation. Classic
VM correctly throws java.lang.OutOfMemoryError.
Bug was reproduced on hardware:
- Sun Ultra-2, 512Mb
- Sun Ultra-1, 256Mb
--------------------------------------------------- a.java ----
public class a {
public static void main(String[] args) {
int array[][] = new int[50000000][];
}
}
---------------------------------------------------------------
> uname -a
SunOS novo12 5.7 Generic_Patch sun4u sparc SUNW,Ultra-2
> javac a.java
> java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-O)
Java HotSpot(TM) Client VM (build 1.3-O, interpreted mode)
> java -classic -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-O)
Classic VM (build 1.3.0-O, green threads, nojit)
> java -classic a
Exception in thread "main" java.lang.OutOfMemoryError
at a.main(a.java:3)
> java a
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
#
# Error ID: 4F533F534F4C415249530E435050079A 01
#
> hserror 4F533F534F4C415249530E435050079A
os_solaris.cpp, 1946
> java -Xmx256m a
> echo $status
0
======================================================================
======================================================================
- duplicates
-
JDK-4326243 poor garbage collector performance on Solaris
-
- Closed
-
- relates to
-
JDK-4304388 Creating huge multidimensional array crashes HotSparc Client VM
-
- Closed
-