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

except006 and except005 java.lang.OutOfMemoryError: Java heap space

    Details

    • Subcomponent:
    • Resolved In Build:
      b56
    • CPU:
      x86, sparc
    • OS:
      linux_redhat_3.0, solaris_9

      Description

      Failing Test : nsk/stress/except/except005

      Possible regression in NSK tests except006 and except005 after
      putback 20040209104756.kbr.c2_baseline which fixed 4976927.
      It passed with server compiler and -Xint or when
      except005::run excluded from compilation.
      (I attached except005 test).

      jaberwocky% uname -a
      SunOS jaberwocky 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-60
      jaberwocky% /tmp/jdk1.5.0/bin/java -client -showversion except005
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b50)
      Java HotSpot(TM) Client VM (build 20040209104756.kbr.c2_baseline-debug, mixed mode)

      # While printing this message, JVM seems to initiate the output
      # stream, so that it will not need more memory to print later,
      # when the heap would fail to provide more memory.
      #
      # Note, that the test maintains especial static log[] field in
      # order to avoid printing when the heap seems exhausted.
      # Nevertheless, printing could arise OutOfMemoryError even
      # after all the memory allocated by the test is released.
      #
      # That problem is caused by the known JDK/HotSpot bugs:
      # 4239841 (P1/S5) 1.1: poor garbage collector performance
      # 4245060 (P4/S5) poor garbage collector performance
      #
      # This message is just intended to work-around that problem.
      # If printing should fail even so, the test will try to return
      # the exit status 96 instead of 97 to indicate the problem.
      # However, the test may fail or even crash on some platforms
      # suffering the bug 4239841 or 4245060.
      Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
      jaberwocky%


      ==============================================================
      Failing Test : nsk/stress/except/except005
      JDK : 1.5.0-b49 and b50
      VM : client
      switch/Mode : comp/mixed
      Platform[s] : amd_windows, amd_linux, and solaris x86

      It's a regression. This test PASSED on tiger beta2 b48


      tlog file location:
      ==================
      /net/jano.sfbay/export/disk20/GammaBase/Bugs/{this_bug_number}


      How to reproduce:
      ====================
         1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/{this_bug_number}
         2. sh rerun.sh


      ###@###.### 2004-05-10
      ================================================================

      Name: vpR10197 Date: 05/10/2004


      The bug also affects the test

           nsk/stress/except/except006

      I added this row to include the test into knownbugs lists.

      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              kbr Kenneth Russell (Inactive)
              Reporter:
              kvn Vladimir Kozlov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: