IBM Support

IV58640: JVM ASSERTS WHEN THE USER ATTEMPTS TO STORE A NEW CLASS IN SHARE D CLASS CACHE USING COM.IBM.OTI.SHARED.SHAREDCLASSURLCLASSPATHHE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Assertion failure message:j9shr.1009   *   **
    ASSERTION FAILED ** at ClasspathItem.cpp:189: ((0 ))
    .
    Stack Trace: Native stack
    trace:ClasspathItem::itemAt()SH_ClasspathManagerImpl2::update()S
    H_CacheMap::updateClasspathInfo
    ()j9shr_classStoreTransaction_start()j9shr_jclUpdateROMClassMeta
    Data()Java_com_ibm_oti_shared_SharedClassURLClasspathHelperImpl_
    storeSharedClassImpl2()Java stack
    trace:com/ibm/oti/shared/SharedClassURLClasspathHelperImpl.store
    SharedClassImpl2(Native
    Method)com/ibm/oti/shared/SharedClassURLClasspathHelperImpl.stor
    eSharedClass(SharedClassURLClasspathHelperImpl.java:144)(entered
    lock:
    com/ibm/oti/shared/SharedClassURLClasspathHelperImpl@0x00000000F
    FF6BDB8, entry count:
    1)com/ibm/oti/shared/SharedClassURLClasspathHelperImpl.storeShar
    edClass(SharedClassURLClasspathHelperImpl.java:105)< application
    frames >
    .
    

Local fix

  • When using SharedClassURLClasspathHelper API, do not add
    classpath to the classloader using
    com.ibm.oti.shared.SharedClassURLClasspathHelperImpl.addClasspat
    hEntry().Instead use
    com.ibm.oti.shared.SharedClassURLClasspathHelperImpl.setClasspat
    h().
    

Problem summary

  • Problem is caused when java application attempts to add a
    classpath to the classloader by calling
    com.ibm.oti.shared.SharedClassURLClasspathHelperImpl.addClasspat
    hEntry() and then attempts to store a new class from the newly
    added classpath.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       7 R1 SR1       (7.1.1.0)
       7    SR7       (7.0.7.0)
       6 R1 SR8       (6.1.8.0)
    .
    JVM has been updated to prevent the assert when
    com.ibm.oti.shared.SharedClassURLClasspathHelperImpl.addClasspat
    hEntry() is used to update classpath of the classloader.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV58640

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-02

  • Closed date

    2014-04-02

  • Last modified date

    2014-04-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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022