IBM Support

IJ59673: CORRUPTION OF ARRAYS BY JIT'D METHODS

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: Applications may crash when using array objects
    with the synchronized keyword. Crashes may include asserts from
    GC.
    .
    Stack Trace: In the case seen so far the problem was detected
    by GC with the following message:
    
    00:01:52.317 0x10a700    j9mm.141    *   ** ASSERTION FAILED **
    
    at Scavenger.cpp:1678: ((false))
    .
    

Local fix

  • The problem is likely to be limited to a single method due to
    the rather obscure usage required to trigger the miscompilation.
    
    
    This method can be excluded using an Xjit Java option of the
    form:
    -Xjit:exclude={a/b/C.methodname(*},dontInline={a/b/C.methodname
    (*}
    
    Where a/b/ would be replaced by the package, C by the class and
    methodname by the name of the method.
    Alternatively, the problem can be avoided for all methods with
    -Xjit:disableInlineMonEnt,disableInlineMonExit
    

Problem summary

  • The JIT can generate inline code sequences to efficiently
    synchronize uncontested objects using a lock word in the
    header. Not all objects contain an appropriate lock word,
    with arrays being an example that don't. Under an
    unusual corner case the JIT could generate code for the
    optimized synchronization path that operated on arrays
    when it should not.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ59673

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-08-26

  • Closed date

    2026-08-26

  • Last modified date

    2026-10-14

  • 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

    JIT

  • Fixed component ID

    620700124

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
14 October 2026