IV25044: NAMINGMANAGER.GETURLCONTEXT() IN MULTI THREAD CAUSE MORE CPU USA GE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: We see a bottleneck in classloading:
    
     sys_mon_t:0x3F1B3B80 infl_mon_t: 0x3F1B3BA0:
    
    com/ibm/ws/classloader/CompoundClassLoader@0x94C6E598/0x94C6E5A4
    :
        owner "MessageListenerThreadPool : 29" (0x3D89EE00), entry
    count 1
          Waiting to enter:
             "MessageListenerThreadPool : 23" (0x383B1D00)
             "MessageListenerThreadPool : 25" (0x3DA12900)
             "MessageListenerThreadPool : 28" (0x3DC19200)
             "MessageListenerThreadPool : 33" (0x36C7D500)
             "MessageListenerThreadPool : 36" (0x3FCFD000)
             "MessageListenerThreadPool : 37" (0x4036CA00)
             "MessageListenerThreadPool : 38" (0x4200D900)
             "MessageListenerThreadPool : 39" (0x4038CB00)
    
    
    
    Below is the callstack of the threads blocked:
    
    "MessageListenerThreadPool : 23" J9VMThread:0x383B1D00,
    j9thread_t:0x3E4A5E4C, java/lang/Thread:0x9B7B8F18, state:B,
    prio=5
    (native thread ID:0x15D017F, native priority:0x5, native
    policy:UNKNOWN)
    
    Java callstack:
      at java/lang/ClassLoader.loadClass
                                     (ClassLoader.java:626(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.findProviderClass
                                           (Bytecode PC:55(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.newInstance
                                            (Bytecode PC:3(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.createObject
                                          (Bytecode PC:529(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.createObject
                                            (Bytecode PC:3(Compiled
    Code))
      at org/apache/xerces/parsers/DOMParser.<init>
                                            (Bytecode PC:5(Compiled
    Code))
      at org/apache/xerces/parsers/DOMParser.<init>
                                            (Bytecode PC:3(Compiled
    Code))
      at com/ibm/wsbc/acs/util/ACXMLHelper.getDocument
                                      (ACXMLHelper.java:17(Compiled
    Code))
      at
    org/frb/ny/payman/internal/entity/StateTransitionOptionXMLToHash
    Map
     .getDocument(StateTransitionOptionXMLToHashMap.java:146(Compile
    d Code))
    
    
    "MessageListenerThreadPool : 29" J9VMThread:0x3D89EE00,
    j9thread_t:0x402E8BDC, java/lang/Thread:0x97DAB358, state:B,
    prio=5
    (native thread ID:0x3B20169, native priority:0x5, native
    policy:UNKNOWN)
    
    Java callstack:
      at sun/misc/Launcher$AppClassLoader.loadClass
                                        (Launcher.java:338(Compiled
    Code))
      at java/lang/ClassLoader.loadClass
                                     (ClassLoader.java:626(Compiled
    Code))
      at org/eclipse/osgi/framework/internal/core/BundleLoader
                          .findClass(BundleLoader.java:363(Compiled
    Code))
      at org/eclipse/osgi/framework/internal/core/BundleLoader
                          .findClass(BundleLoader.java:347(Compiled
    Code))
      at org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader
                     .loadClass(DefaultClassLoader.java:83(Compiled
    Code))
      at java/lang/ClassLoader.loadClass
                                     (ClassLoader.java:652(Compiled
    Code))
      at com/ibm/ws/bootstrap/ExtClassLoader.loadClass
                                  (ExtClassLoader.java:111(Compiled
    Code))
      at java/lang/ClassLoader.loadClass
                                     (ClassLoader.java:626(Compiled
    Code))
      at com/ibm/ws/classloader/ProtectionClassLoader.loadClass
                            (ProtectionClassLoader.java:62(Compiled
    Code))
      at com/ibm/ws/classloader/ProtectionClassLoader.loadClass
                            (ProtectionClassLoader.java:58(Compiled
    Code))
      at com/ibm/ws/classloader/CompoundClassLoader.loadClass
                             (CompoundClassLoader.java:510(Compiled
    Code))
      at java/lang/ClassLoader.loadClass
                                     (ClassLoader.java:626(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.findProviderClass
                                           (Bytecode PC:55(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.newInstance
                                            (Bytecode PC:3(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.createObject
                                          (Bytecode PC:529(Compiled
    Code))
      at org/apache/xerces/parsers/ObjectFactory.createObject
                                            (Bytecode PC:3(Compiled
    Code))
      at org/apache/xerces/parsers/DOMParser.<init>
                                            (Bytecode PC:5(Compiled
    Code))
      at org/apache/xerces/parsers/DOMParser.<init>
                                            (Bytecode PC:3(Compiled
    Code))
      at com/ibm/wsbc/acs/util/ACXMLHelper.getDocument
                                      (ACXMLHelper.java:17(Compiled
    Code))
    
    
    
    
    Which is blocked at more classloadering:
    
     sys_mon_t:0x34E2ADE0 infl_mon_t: 0x34E2AE00:
       sun/misc/Launcher$AppClassLoader@0x903A7530/0x903A753C: Flat
    locked
        by "MessageListenerThreadPool : 44" (0x36927D00), entry
    count 1
          Waiting to enter:
             "MessageListenerThreadPool : 29" (0x3D89EE00)
    
    
    "MessageListenerThreadPool : 44" J9VMThread:0x36927D00,
    j9thread_t:0x4051CCB4, java/lang/Thread:0x975C6F90, state:CW,
    prio=5
    (native thread ID:0x3AC019F, native priority:0x5, native
    policy:UNKNOWN)
    
    Java callstack:
     at java/net/URL.<init>(URL.java:465(Compiled Code))
     at sun/misc/URLClassPath$FileLoader.getResource
                               (URLClassPath.java:1197(Compiled
    Code))
     at sun/misc/URLClassPath$FileLoader.findResource
                              (URLClassPath.java:1186(Com piled
    Code))
     at sun/misc/URLClassPath.findResource
                                (URLClassPath.java:250(Compiled
    Code))
     at java/net/URLClassLoader$4.run
                              (URLClassLoader.java:752(Compiled
    Code))
     at java/security/AccessController.doPrivileged
    
    (AccessController.java:224)
     at java/net/URLClassLoader.findResource
                              (URLClassLoader.java:749(Compiled
    Code))
     at java/lang/ClassLoader.getResource
                                 (ClassLoader.java:444(Compiled
    Code))
     at java/lang/ClassLoader.getResourceAsStream
                                 (ClassLoader.java:511(Compiled
    Code))
     at java/lang/ClassLoader.getSystemResourceAsStream
                                 (ClassLoader.java:611(Compiled
    Code))
     at org/apache/xerces/parsers/SecuritySupport$6.run
                                       (Bytecode PC:11(Compiled
    Code))
     at java/security/AccessController.doPrivileged
                            (AccessController.java:202(Compiled
    Code))
     at
    org/apache/xerces/parsers/SecuritySupport.getResourceAsStream
                                       (Bytecode PC:10(Compiled
    Code))
     at
    org/apache/xerces/parsers/ObjectFactory.findJarServiceProvider
                                       (Bytecode PC:84(Compiled
    Code))
     at org/apache/xerces/parsers/ObjectFactory.createObject
                                      (Bytecode PC:475(Compiled
    Code))
     at org/apache/xerces/parsers/ObjectFactory.createObject
                                        (Bytecode PC:3(Compiled
    Code))
     at org/apache/xerces/parsers/DOMParser.<init>
                                        (Bytecode PC:5(Compiled
    Code))
     at org/apache/xerces/parsers/DOMParser.<init>
                                        (Bytecode PC:3(Compiled
    Code))
     at com/ibm/wsbc/acs/util/ACXMLHelper.getDocument
                                  (ACXMLHelper.java:17(Compiled
    Code))
     at
    org/frb/ny/payman/internal/entity/StateTransitionOptionXMLToHash
    Map
     .getDocument(StateTransitionOptionXMLToHashMap.java:146(Compile
    d Code))
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • The synchronized block in NamingManager.getURLContext() method
    blocks too many codes.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    6.0.1 SR4
    .
    Break the large synchronized block into small piece which still
    make it thread safe.
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    IV25044

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-23

  • Closed date

    2012-08-02

  • Last modified date

    2012-08-02

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

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

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV25044

Modified date:

2012-08-02

Translate my page

Machine Translation

Content navigation