src/hotspot/share/gc/shared/taskqueue.inline.hpp
changeset 57978 be5865bda5b9
parent 57672 167cb7b4cd81
child 58679 9c3209ff7550
child 59247 56bf71d64d51
--- a/src/hotspot/share/gc/shared/taskqueue.inline.hpp	Mon Sep 02 12:10:21 2019 +0200
+++ b/src/hotspot/share/gc/shared/taskqueue.inline.hpp	Mon Aug 12 19:20:12 2019 +0200
@@ -207,7 +207,7 @@
   // Architectures with weak memory model require a barrier here
   // to guarantee that bottom is not older than age,
   // which is crucial for the correctness of the algorithm.
-#if !(defined SPARC || defined IA32 || defined AMD64)
+#ifndef CPU_MULTI_COPY_ATOMIC
   OrderAccess::fence();
 #endif
   uint localBot = OrderAccess::load_acquire(&_bottom);