IBM Support

IV37225: JAVA CRASH IN JIT OR COMPILED CODE ON SYSTEM Z

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: A SIGSEGV or 0C4 ABEND is raised in a
    JIT-compiled method, or in a function of the JIT module that is
    called by JIT-compiled code. Analysis of the JIT-compiled code
    shows that an incorrect value has been loaded into a register
    with the ICM (insert character under mask) instruction.
    .
    Stack Trace: jitInstanceOf
    com/ibm/db2/jcc/t2zos/T2zosPreparedStatement.a
    com/ibm/db2/jcc/t2zos/T2zosPreparedStatement.a
    com/ibm/db2/jcc/t2zos/T2zosPreparedStatement.b
    com/ibm/db2/jcc/am/io.b
    com/ibm/db2/jcc/am/io.dc
    .
    

Local fix

  • This issue can be worked around by excluding the problematic
    method from JIT compilation, with the following option:
    -Xjit:exclude={com/ibm/db2/jcc/t2zos/T2zosPreparedStatement.a*}
    

Problem summary

  • The problem is caused by the incorrect use of a peephole
    optimization that exploits the ICM instruction. This problem
    only affects JVMs on System z.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR14
    5.0.0 SR16 FP3
    6.0.1 SR6
    7.0.0 SR5
    .
    The JIT compiler has been updated to make the necessary checks
    before applying the optimization.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV37225

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-26

  • Closed date

    2013-03-04

  • Last modified date

    2013-06-13

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

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

    IV37226

Fix information

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R600 PSY

       UP

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 June 2013