RFR: 8275052: AArch64: Fix flag handling for MacOS.
Andrew Dinn
adinn at openjdk.java.net
Wed Oct 13 14:56:48 UTC 2021
On Mon, 11 Oct 2021 13:06:14 GMT, Andrew Haley <aph at openjdk.org> wrote:
> This is more of the fallout from JDK-8273297.
> We've noticed that blocks of less than 8kbytes are very slowly encrypted with AES/GCM . This is because of incorrect flag handline in vm_version_bsd_aarch64.cpp.
>
> Before this patch:
>
>
> Benchmark (dataSize) (keyLength) (provider) Mode Cnt Score Error Units
> AESGCMBench.decrypt 8191 256 avgt 6 95821.232 ± 2447.246 ns/op
> AESGCMBench.decrypt 8192 256 avgt 6 3653.619 ± 83.432 ns/op
>
>
> After:
>
>
> Benchmark (dataSize) (keyLength) (provider) Mode Cnt Score Error Units
> AESGCMBench.decrypt 8191 256 avgt 6 3371.735 ± 70.204 ns/op
> AESGCMBench.decrypt 8192 256 avgt 6 3119.928 ± 80.375 ns/op
yes, looks ok.
-------------
Marked as reviewed by adinn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5894
More information about the hotspot-dev
mailing list