IBM Support

IV78328: INCONSISTENT RETURN VALUE FOR JAVA/LANG/MATH.LOG ON X86

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: Value of log(x) changes after java/lang/Math.log
    has been compiled for certain values of x
    .
    Stack Trace:
    .
    This problem is only seen on x86 platforms.
    

Local fix

Problem summary

  • The problem happens because the JIT compiler uses special
    inlined assembly code involving floating point operations to
    calculate the value of java/lang/Math.log and the accuracy is
    not consistent with the computation done by the interpreter.
    This results in certain log(x) return values changing after the
    method which computes them gets compiled.
    

Problem conclusion

  • The JIT compiler has been updated to calculate the
    java/lang/Math.log value with the same accuracy as the
    interpreter.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3 FP20  (7.1.3.20)
    .
    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

    IV78328

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-23

  • Closed date

    2015-10-23

  • Last modified date

    2015-11-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

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

Document Information

Modified date:
02 November 2015