RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]
Сергей Цыпанов
duke at openjdk.org
Fri Aug 26 17:07:00 UTC 2022
On Fri, 26 Aug 2022 16:39:01 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8292937: Move logic into VM side
>
> src/java.base/share/native/libjava/io_util.c line 82:
>
>> 80: ((*(buf + 1) & 0xFF) << 16) +
>> 81: ((*(buf + 2) & 0xFF) << 8) +
>> 82: ((*(buf + 3) & 0xFF));
>
> What if the native byte order is little-endian?
I don't know, sorry
-------------
PR: https://git.openjdk.org/jdk/pull/10031
More information about the core-libs-dev
mailing list