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

PermHeap bloat in and only in server VM

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Introduced In Build:
      1.3.0
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_8, solaris_9, solaris_10
    • Verification:
      Verified

      Backports

        Description

        Description: With updating ClassLoader several times, jdk1.4.1_05 server VM will be down with an error java.lang.OutOfMemoryError.

        Environment:
        OS : Solaris8
        MPU: sparcv9 processor 450 MHz * 2
        Mem: 2048 Megabytes

        Reproduction:
        1. To unzip the attached tp.zip.
        2. To change the direcotory to tp.
        3. Set the JAVA_HOME variable viable in the script client.sh.
        4. To type "sh client.sh" to launch the test program.
        5. You will see the test program stop there and java.lang.OutOfMemoryError shown.
        ...
        [Loaded dummy.target.Target1692]
        [Loaded dummy.target.Target1693]
        [Loaded dummy.target.Target1694]
        [Loaded dummy.target.Target1695]
        [Loaded java.lang.ClassFormatError from
        /j2sdk1.4.1_05/jre/lib/rt.jar]
        java.lang.OutOfMemoryError
        [Loaded java.lang.StackTraceElement from
        /j2sdk1.4.1_05/jre/lib/rt.jar]
        [Loaded java.util.HashMap$KeyIterator from
        /j2sdk1.4.1_05/jre/lib/rt.jar]

         The test program test.MainEntry creates URLClassLoader that loads and destroy the classes in the package dummy. And those classes under dummy package are just for a burden test on VM. The VM args can be referenced in the script client.sh.


        2003-11-21
        Changed synopsis line from:

        PermHeap overflow in and only in server VM

        to:

        PermHeap bloat in and only in server VM

        so as to avoid customer confusion that this is a "leak"
        (which this is not). See evaluation and comments section
        for more details.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ysr Y. Ramakrishna
                Reporter:
                xiaojuzh Xiaojun Zhang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: