VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ55734

⇱ IJ55734: BUSY HANG IN GETANDSETOBJECT


IJ55734: BUSY HANG IN GETANDSETOBJECT

APAR status

  • Closed as program error.

Error description

  • Error Message: An increase in cpu consumption and one or more
    threads hung in method getAndSetObject from the sun.misc.Unsafe
    package was noted.
    .
    Stack Trace: Various stacks are possible depending on where
    getAndSetObject is called from when the problem occurs.
    .
    

Local fix

  • The problem can be avoid with the following JVM command line
    argument:
    -Xjit:dontInline={*/misc/Unsafe.get*}
    

Problem summary

  • An error introduced into createUnsafeGetWithOffset can result in
    incorrect optimization of the unsafe get* methods.
    getObjectVolatile is used in getAndSetObject, and the incorrect
    optimization resulted in the method being unable to exit the
    loop. The problem was introduced in openj9-0.47.0, mid 2024.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ55734

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-09-03

  • Closed date

    2025-09-03

  • Last modified date

    2025-09-03

  • 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:
03 September 2025