IBM Support

IV68418: JVM CRASHES WHEN USING -XSHARECLASSES AND LOADING A CLASS THAT U SES 'INVOKEDYNAMIC' BYTECODE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace:
    fixReturns+0x5a1fixReturnBytecodesInMethod+0xa6fixReturnBytecode
    s+0xc5ROMClassBuilder::prepareAndLaydown+0xb37ROMClassBuilder::b
    uildROMClass+0x1a9j9bcutil_buildRomClass+0x137callDynamicLoader+
    0x204internalLoadROMClass+0x6cacreateROMClassFromClassFile+0x68i
    nternalDefineClass+0x3b9defineClassCommon+0x49dJava_java_lang_Cl
    assLoader_defineClassImpl+0xa2
    .
    

Local fix

  • Disable use of shared class cache by removing -Xshareclasses
    option from the command line.
    

Problem summary

  • This problem occurs when JVM is loading a class which uses
    'invokedynamic' bytecode, and the class is already present in
    the shared class cache that the JVM is attached to.
    

Problem conclusion

  • The JVM has been updated to prevent the crash by properly
    handling 'invokedynamic' bytecode when loading a class.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9       (7.0.9.0)
       7 R1 SR3       (7.1.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68418

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-08

  • Closed date

    2015-01-08

  • Last modified date

    2015-01-08

  • 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

  • R260 PSY

       UP

  • 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":"6.1","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022