RFR: 8255349: Vector API issues on Big Endian

Martin Doerr mdoerr at openjdk.java.net
Fri Oct 23 15:52:47 UTC 2020


Several jdk/incubator/vector tests are failing with stack overflow due to endless recursion on Big Endian platforms. E.g. Int64VectorLoadStoreTests (see bug for stack trace).
Endianess in defaultReinterpret is currently hard coded and not checked.

In addition, VectorReshapeTests.java is failing due to incorrect size conversion for Big Endian in the test code (castByteArrayData).

-------------

Commit messages:
 - 8255349: Vector API issues on Big Endian

Changes: https://git.openjdk.java.net/jdk/pull/840/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=840&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255349
  Stats: 30 lines in 2 files changed: 23 ins; 2 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/840.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/840/head:pull/840

PR: https://git.openjdk.java.net/jdk/pull/840


More information about the hotspot-compiler-dev mailing list