IBM Support

IJ15687: EXCEPTION IS NOT THROWN WHEN USING -XJIT:ENABLEGPU

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: j> 03:52:20 java.lang.AssertionError:
    java.lang.ArithmeticException didn't throw
    j> 03:52:20     at org.junit.Assert.fail(Assert.java:91)
    j> 03:52:20     at org.junit.Assert.assertTrue(Assert.java:43)
    j> 03:52:20     at
    com.ibm.j9.jitgpu.exceptions.ZeroDivideByZeroTest.exceptionOutsi
    de(ZeroDivideByZeroTest.java:70)
    .
    Stack Trace: N/A
    .
    Failing test was run using the "enableGPU" Xjit option.
    

Local fix

  • Do not use the "-Xjit:enableGPU" option. This will prevent Java
    from offloading code to the GPU.
    

Problem summary

  • The "-Xjit:enableGPU" option allows the JIT to generate code
    that lets some of the Java application code run on the GPU. When
    Java code being run on the GPU runs into an exception an
    internal flag is set to keep track of the exception. The memory
    being used to hold the flag is sometimes erroneously freed and
    reused too soon which causes the application code to lose track
    of the exception. This results in continuing down a code path
    based on the incorrect belief that an exception did not happen
    which in turn will lead to unpredictable results.
    

Problem conclusion

  • Memory management was fixed. The internal flag keeping track of
    Java exceptions thrown while running code on the GPU is no
    longer freed too early.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP35  (8.0.5.35)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ15687

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-24

  • Closed date

    2019-04-24

  • Last modified date

    2019-04-24

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 April 2019