Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4523683

java.lang.OutOfMemoryError thrown with server -Xcomp in 1.3.1_02

XMLWordPrintable

    • 02
    • x86
    • solaris_8
    • Verified

      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 RedHat 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.

            mearagolsunw Murali Earagolla (Inactive)
            dkhandelsunw Deepesh Khandelwal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: