IBM Support

IV66036: ARITHMETIC DIVIDE BY ZERO EXCEPTION CAUSED BY INCORRECT LOOP VER SIONING

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 possible error message could be: "Caused by:
    java.lang.ArithmeticException: divide by zero"
    .
    Stack Trace: N/A
    .
    Please note that the root cause for most
    "java.lang.ArithmeticException: divide by zero" is still
    incorrect Java application code. The scenario described in this
    APAR is a very rare case.
    

Local fix

  • This issue can be worked around by using the
    -Xjit:disableLoopVersioner option. Please note there will be
    some performance loss.
    

Problem summary

  • This problem can happen when the primary induction variable in a
    loop has a non-constant increment. JIT will incorrectly optimize
    the loop, resulting in a divide by zero exception.
    

Problem conclusion

  • JIT has been fixed to not allow versioning of loops whose
    primary induction variable has a non-constant increment.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR8 FP10  (7.0.8.10)
       7 R1 SR2 FP10   (7.1.2.10)
       6    SR16 FP3  (6.0.16.3)
       6 R1 SR8 FP3   (6.1.8.3)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV66036

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-17

  • Closed date

    2014-10-27

  • Last modified date

    2014-12-02

  • 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

  • R260 PSY

       UP

  • 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":"260","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 December 2014