IBM Support

PK72159: OM SOFTREFERENCE TO WAS CL (2ND THREAD: CLASSTOCTORCACHE) REPOSI TORYID.REP_STR_TO_CLASS_CACHE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: This APAR is to fix an OutOfMemory condition
    for a ClassLoader in the Java ORB.
    The issue is in the structure of the
    RepositoryId.REP_STR_TO_CLASS_CACHE
    ..
    The two threads are:
    ..
    com/ibm/rmi/io/IIOPInputStream.classToCtorCache
    ..
    com/ibm/rmi/util/RepositoryId.REP_STR_TO_CLASS_CACHE
    ..
    Here is an example of what L-2 might see
    during there OOM analysis.
    ..
    0x34a83390 com/ibm/ws/classloader/
    CompoundClassLoader
    0x3702cab0 sun/reflect/DelegatingClassLoader
    0x2da50c90 class sun/reflect/
    GeneratedSerializationConstructorAccessor255
    0x37034f88 sun/reflect/
    GeneratedSerializationConstructorAccessor255
    0x37034fb8 java/lang/reflect/Constructor
    0x37035000 java/util/
    Hashtable$HashtableCacheHashEntry
    0x3a2b44e0 java/util/
    Hashtable$HashtableCacheHashEntry
    0x384e6968 array of java/util/Hashtable$Entry
    0x34508bc0 java/util/Hashtable
    0x516c33d0 class com/ibm/rmi/io/
    IIOPInputStream.classToCtorCache
    ..
    0x34a83390 com/ibm/ws/classloader/
    CompoundClassLoader
    0x58ae08d8 class com/rbc/_7m00/message/getcards/
    SecafGetCardsRequest
    0x3aa22cb0 java/lang/ref/SoftReference
    0x3aa22cd0 java/util/WeakHashMap$Entry
    0x3aa22cf8 array of java/util/WeakHashMap$Entry
    0x33c53960 java/util/WeakHashMap
    0x33c53950 com/ibm/jtc/orb/map/
    CacheFactories$SoftCache.map
    0x5110dba0 class com/ibm/rmi/util/
    RepositoryId.REP_STR_TO_CLASS_CACHE
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • The problem is caused due to ORB's strongly held class caches
    which prevent the holding classloaders from getting GCed in
    time, which inturn do not free up the native representation of
    the classes in time, resulting in native OOMs.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13
    1.4.2 SR13 (z/OS 64-bit)
    1.4.2 SR13 (Linux AMD64)
    1.4.2 SR13 (Windows AMD64)
    5.0.0 SR9
    .
    ORB code has been fixed to weakly hold on to classes
    appropriately. In certain scenarios, the need to cache the
    classes has been eliminated.
    .
    To obtain the fix:
    Install build 20081019 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK72159

  • Reported component name

    LIN AMD 64 JAVA

  • Reported component ID

    620400103

  • Reported release

    142

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-09-16

  • Closed date

    2008-12-21

  • Last modified date

    2008-12-21

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

    PK72109

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

Fix information

  • Fixed component name

    LIN AMD 64 JAVA

  • Fixed component ID

    620400103

Applicable component levels

  • R142 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCGLMF","label":"Java SDK"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 December 2008