JDK-8283122 : [AIX, s390] UnsafeCopyMemory 'Mismatched' Tests Fail on Big Endian Systems
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: ppc,s390x
  • Submitted: 2022-03-14
  • Updated: 2022-03-17
  • Resolved: 2022-03-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 b14Fixed
Related Reports
Relates :  
Relates :  
Description
UnsafeCopyMemory.java contains a few tests with 'mismatched' source and destination size. These tests use Unsafe.copyMemory to copy 4 bytes between longs and ints.

These copies do not happen as expected on big endian systems since the low-order bytes are stored in 'other' half of the long, and a little extra work is required to copy between the correct locations.

Comments
Changeset: 4de72014 Author: Tyler Steele <tyler.steele@ibm.com> Committer: Thomas Stuefe <stuefe@openjdk.org> Date: 2022-03-15 14:52:27 +0000 URL: https://git.openjdk.java.net/jdk/commit/4de72014d3a33469399fec6f428f35c47c4cfbe0
15-03-2022

ILW = 1 test fails; big-endian only; no workaround = MMH = P3
15-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7811 Date: 2022-03-14 18:19:46 +0000
14-03-2022

On behalf of Tyler Steele (IBM).
14-03-2022