IBM Support

IV75420: INCORRECT STRING HASH CODE CALCULATION IN JIT-COMPILED METHOD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    JIT compiled method String.hashCode() returned incorrect hash
    code for some strings on Power 8 machines. Both AIX and Linux
    are affected.
    

Local fix

  • This issue can be worked around using the
    -Xjit:disableSIMDStringHashCode option. Note that this will
    cause some performance degradation.
    

Problem summary

  • The problem is caused when JIT's fast-path String.hashCode()
    behave incorrectly on strings containing characters with values
    between 0x8000 and 0xFFFF.
    

Problem conclusion

  • The JIT has been updated to prevent the incorrect hash code by
    adding a bit mask to the compiled code.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2       (8.0.2.0)
    .
    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

    IV75420

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-23

  • Closed date

    2015-07-23

  • Last modified date

    2015-07-23

  • 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:
23 July 2015