IBM Support

IV88882: ASSERTION FROM ROMCLASSBUILDER WHEN USING OPTION XCHECK:VM:DEBUG INFO

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: ** ASSERTION FAILED ** at
    ROMClassBuilder.cpp:xxx: (((J9UTF8*)(values->name) ==
    (J9UTF8*)(srpOffsetTable->computeWSRP(srpKeyProducer->mapCfrCons
    tantPoolIndexToKey(localVariablesIterator.getNameIndex()), 0))))
    .
    Stack Trace: One example:
    checkDebugInfoCompression__EI15ROMClassBuilderFP10J9ROMClass15Cl
    assFileOracleP14SRPKeyProducerP15ConstantPoolMapP14SRPOffsetTabl
    e+0xbbe
    prepareAndLaydown__EI15ROMClassBuilderFP13BufferManagerP15ClassF
    ileParserP23ROMClassCreationContext+0x149a
    buildROMClass__EI15ROMClassBuilderFP23ROMClassCreationContext+0x
    38a
    j9bcutil_buildRomClass
    callDynamicLoader
    internalLoadROMClass
    internalDefineClass
    defineClassCommon
    Java_java_lang_ClassLoader_defineClassImpl
    <unknown>
    callLoadClass
    arbitratedLoadClass
    internalFindClassUTF8
    j9rtv_verifierGetRAMClass
    isClassCompatible
    verifyBytecodes
    j9rtv_verifyBytecodes
    j9bcv_verifyBytecodes
    performVerification(J9VMThread*,J9Class*)
    classInitStateMachine(J9VMThread*,J9Class*,J9ClassInitState)
    prepareClass
    Fast_java_lang_J9VMInternals_prepareClassImpl
    .
    Fails when loading a class from the shared class cache.
    

Local fix

  • Disable share classes (-Xshareclasses:none), or remove option
    -Xcheck:vm:debuginfo.
    

Problem summary

  • The VM was missing one action when loading classes from the
    shared class cache. The missing action causes a problem only
    when option Xcheck:vm:debuginfo has been specified.
    

Problem conclusion

  • The VM has been corrected to add the missing step and prevent
    the assertion.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3 FP60  (7.1.3.60)
       8    SR3 FP12  (8.0.3.12)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV88882

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-31

  • Closed date

    2016-08-31

  • Last modified date

    2016-09-07

  • 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

[{"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