On Tue, 8 Oct 2024 01:05:14 GMT, Shaojin Wen <s...@openjdk.org> wrote:

>> Claes Redestad has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Rename get64 -> get64S
>
> src/java.base/share/classes/java/util/zip/ZipUtils.java line 173:
> 
>> 171:      * The bytes are assumed to be in Intel (little-endian) byte order.
>> 172:      */
>> 173:     public static final int get16(byte[] b, int off) {
> 
> Can JIT automatically perform MergeStore here? If JIT can automatically 
> perform MergeStore without using Unsafe, many scenarios will benefit.

Unfortunately we only have merge store for writing to arrays; no merge load 
when we are reading from arrays.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21377#discussion_r1791054849

Reply via email to