RFR: 8277617: Optimize array copy and clear on x86_64
Sandhya Viswanathan
sviswanathan at openjdk.java.net
Tue Nov 23 22:24:07 UTC 2021
On Tue, 23 Nov 2021 06:05:48 GMT, Jie Fu <jiefu at openjdk.org> wrote:
>> @sviswa7 that further restriction and an explanatory comment would be appreciated. Thanks.
>
>> @dholmes-ora We see about 25% gain on a micro on our latest platform. There is no cpuid bit for this, so the closest was to check for the new serialize ISA supported on this platform.
>
> It would be better to add a jmh test for this opt.
> Thanks.
@DamonFool There are jmh tests for Arraycopy in test/micro/org/openjdk/bench/java/lang/Arraycopy.java.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6512
More information about the hotspot-dev
mailing list