-
Enhancement
-
Resolution: Fixed
-
P4
-
8-shenandoah, 11.0.9, 16, 17
-
b11
We use CASes to distributed workers between regions. 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.
This seems to be excessive for region distribution code, and "relaxed" is enough, since we don't piggyback memory ordering on these.
This seems to be excessive for region distribution code, and "relaxed" is enough, since we don't piggyback memory ordering on these.