On Fri, 23 May 2025 19:52:50 GMT, Chen Liang <li...@openjdk.org> wrote:

> Can we remove all meaningless `!Architecture.isLittleEndian()` calls and use 
> the platform-specific endianness unsafe primitives instead? For compensation, 
> we can add a check in each of fill2/fill3/fill4 that `assert value == 
> Integer/Short/Long.reverseBytes(value)` if you think that is necessary.

Let's take a look at that under a separate PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/25383#issuecomment-2910041204

Reply via email to