Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4523683
Votes 0
Synopsis java.lang.OutOfMemoryError thrown with server -Xcomp in 1.3.1_02
Category hotspot:compiler2
Reported Against 1.3.1_02
Release Fixed 1.3.1_02
State 10-Fix Delivered, Verified, bug
Priority: 4-Low
Related Bugs 4390238 , 4484290 , 4504200
Submit Date 06-NOV-2001
Description
Steps to reproduce :
1) Install the JDK 1.3.1_02 from:
	/java/re/jdk/1.3.1_02/promoted
2) Download the attachment "TestCase.java".
3) Compile the testcase
   <JDK1.3.1_02>/bin/javac TestCase.java
4) Execute the testcase
   <JDK1.3.1_02>/bin/java -server -Xcomp TestCase

java version "1.3.1_02-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-ea-b01)
Java HotSpot(TM) Server VM (build 1.3.1_02-ea-b01, compiled mode)

We get the following error:
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 67108876

The test fails on x86 platforms (Windows 2000, Linux  customer  7.1 and IA Solaris 8) with the -server -Xcomp flag only. The failure doesn't happen with client -Xcomp or -Xmixed and server -Xmixed. The testcase passes on 1.3.1_01, 1.3.1_01a and 1.4-b84 JDKs.
Work Around
N/A
Evaluation
Testcase exhibited problem in the server compiler where we were ending
up in an infinite loop during the node creation in the graph. The fix
is to add a check so that we don't end up in an infinite loop. Testcase
exhibited the failure on INTEL architecture only, but the problem is generic
and could have happened on SPARC also.

  xxxxx@xxxxx   2001-11-08
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang