RFR: 8340189: 8339531 incorrect for Big Endian platforms
Per Minborg
pminborg at openjdk.org
Tue Oct 15 08:02:16 UTC 2024
On Mon, 14 Oct 2024 18:17:37 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> This version uses little endian accesses on big endian machines. This may defeat the purpose of [JDK-8339531](https://bugs.openjdk.org/browse/JDK-8339531) for those platforms. Accesses are typically slower when using them with endianness mismatch. But it looks at least correct. Thanks for providing a fix.
Are you able to run the `SegmentBulkMismatch` benchmark on the various BE platforms? This will provide us with clear figures if there is an improvement or not. (The benchmark runs both the old and new code path)
When we have the figures, we could (if necessary) open up a new issue targeting improved performance for BE platforms. I could help in such an effort but I can't drive it because I don't have access to a BE platform.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21258#issuecomment-2413160489
More information about the core-libs-dev
mailing list