Integrated: 8261503: Shenandoah: reconsider verifier memory ordering
Aleksey Shipilev
shade at openjdk.java.net
Mon Feb 15 08:44:41 UTC 2021
On Wed, 10 Feb 2021 11:41:45 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Shenandoah verifier uses lots of atomic operations. Unfortunately, Hotspot's default for atomic operations is memory_order_conservative, which emits two-way memory fences around the CASes at least on AArch64 and PPC64.
>
> In most cases, that is excessive for verifier, and "relaxed" would do.
>
> Additional testing:
> - [x] Linux x86_64 hotspot_gc_shenandoah
> - [x] Linux AArch64 hotspot_gc_shenandoah
> - [x] Linux AArch64 tier1 with Shenandoah
This pull request has now been integrated.
Changeset: 7c931591
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7c931591
Stats: 8 lines in 1 file changed: 0 ins; 0 del; 8 mod
8261503: Shenandoah: reconsider verifier memory ordering
Reviewed-by: zgu
-------------
PR: https://git.openjdk.java.net/jdk/pull/2505
More information about the hotspot-gc-dev
mailing list