APAR status
Closed as program error.
Error description
Error Message: N/A . Stack Trace: N/A . Incorrect or unexpected values are returned when transforming byte to char in a loop. The issue happens more when compiled at opt level hot or higher. The problem happens only on little endian machines, and cannot happen on big endian machines like AIX and zOS.
Local fix
The issue can be avoided with -Xjit:disableIdiomRecognition. This option has some performance impact, but it may be restricted to the problematic method ex: -Xjit:{<effected_method_signature>}(disableIdiomRecognition)
Problem summary
The problem happens in the Idiom recognition optimization when it transforms the loop into an arraycopy. The optimization does a wrong calculation on little endian architectures for the starting address for arraycopy.
Problem conclusion
The compiler code has been corrected to select the starting address correctly based on the endianess of the target platform. . This APAR will be fixed in the following Java Releases: 8 SR7 FP5 (8.0.7.5) . 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
IJ35231
Reported component name
JIT
Reported component ID
620700124
Reported release
130
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-09-28
Closed date
2021-11-29
Last modified date
2021-11-29
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
[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130"}]
Document Information
Modified date:
30 November 2021
