IBM Support

IV37975: MULTIPLE JIT TRANSLATION FAILURES: OUT OF SCRATCH MEMORY AFTER APPLYING IZ89488

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: The Just-In-Time compiler in Java 6 SR10 and
    above fails to suppress compilation attempts when it should know
    that the code cache is already full. As a result, the JIT
    compiler will waste CPU time trying to optimize Java methods,
    only aborting the attempts after it has done most of the work.
    This may result in continuous high CPU utilization that can be
    avoided.
    .
    Stack Trace: N/A
    .
    The issue can be detected by turning on verbose JIT logging with
    the -Xjit:verbose option. The verbose output will end in many
    messages indicating failed compilations, e.g.
    
    ! java/io/OutputStreamWriter.write(Ljava/lang/String;II)V
    code=0x0000000000000000<TRANSLATION FAILURE: out of scratch
    memory>
    ! java/lang/StringBuilder.setLength(I)V
    code=0x0000000000000000<TRANSLATION FAILURE: out of scratch
    memory>
    !
    java/util/zip/ZipFile.getInputStream(Ljava/util/zip/ZipEntry;)Lj
    ava/io/InputStream; code=0x0000000000000000<TRANSLATION FAILURE:
    out of scratch memory>
    etc.
    

Local fix

  • N/A
    

Problem summary

  • The problem is caused by the JIT compiler's inability to
    recognize and handle all types of code cache allocation
    failures.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR14
    .
    The JIT compiler has been updated to correctly flag the code
    cache as being full in all cases. When the code cache is full
    and the JVM requests a compilation, the verbose JIT log should
    simply state:
    <WARNING: JIT CACHES FULL>
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV37975

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-12

  • Closed date

    2013-03-27

  • Last modified date

    2013-07-10

  • 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

  • R600 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:
10 July 2013