IV01046: CUSTOM ClASSLOADER LEAK DUE TO CONTEXTCLASSLOADER OF JAVA2D DISPOSER THREAD

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: Memory Leak observed due to contextClassLoader
    field of Java2D disposer thread.
    .
    Stack Trace:
    0x2a38e7c0 com/ibm/ws/classloader/CompoundClassLoader
     0x2df04f68 java/lang/Thread@fd20fd2
      ?truncating at running thread LEAK
       Parents:
        0x2bd63220 ?Ljava/lang/Thread;@54065406
       Children:
        0x2c1e3448 java/lang/String@49ee49ee
        0x29d7ef48 java/lang/ThreadGroup@55625562
        0x2df2a6d8 sun/java2d/Disposer@fce0fce
        0x2a38e7c0
    com/ibm/ws/classloader/CompoundClassLoader@3eac3eac
        0x2df16f58 java/security/AccessControlContext@10281028
        0x2df16f70 java/lang/Thread$ThreadLock@fea0fea
        0x2df16f80 java/lang/ThreadLocal$ThreadLocalMap@fee0fee
    -------
    
    Look at the String object in Children to find out the thread
    name to see
    whether it's Java2D disposer thread.
    
    J9VMJavaLangString at 0x2c1e3448 {
        struct J9Class* clazz = !j9class 0x2664b960   //
    java/lang/String
        U_32 flags = 0x49ee800e;
        UDATA monitor = 0x0;
        [C value = !j9object 0x2C1E3468 (offset=0)
        I offset = 0 (offset=4)
        I count = 15 (offset=8)
        I hashCode = -20996897 (offset=12)
        "Java2D Disposer"
    }
    

Local fix

  • N/A
    

Problem summary

  • The Java2D Disposer thread is holding a reference to a custom
    ClassLoader through its contextClassLoader field. As this is a
    demon thread which runs for JVM lifetime, the custom class
    loaders are not garbage collected even after the application
    restart
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR13
    .
    The JVM has been modified to remove the reference to
    ContextClassLoader and thereby allowing the custom class loader
    to be garabage collected
    .
    To obtain the fix:
    Install build 20110610 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV01046

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-31

  • Closed date

    2011-07-01

  • Last modified date

    2011-07-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM44802

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

5.0

Reference #:

IV01046

Modified date:

2011-07-01

Translate my page

Machine Translation

Content navigation