--- old/src/hotspot/share/gc/shared/taskqueue.inline.hpp 2019-11-21 11:17:15.535655963 +0100 +++ new/src/hotspot/share/gc/shared/taskqueue.inline.hpp 2019-11-21 11:17:15.099648963 +0100 @@ -68,7 +68,7 @@ // assignment. However, casting to E& means that we trigger an // unused-value warning. So, we cast the E& to void. (void)const_cast(_elems[localBot] = t); - OrderAccess::release_store(&_bottom, increment_index(localBot)); + Atomic::release_store(&_bottom, increment_index(localBot)); TASKQUEUE_STATS_ONLY(stats.record_push()); return true; } @@ -89,7 +89,7 @@ // assignment. However, casting to E& means that we trigger an // unused-value warning. So, we cast the E& to void. (void) const_cast(_elems[localBot] = t); - OrderAccess::release_store(&_bottom, increment_index(localBot)); + Atomic::release_store(&_bottom, increment_index(localBot)); TASKQUEUE_STATS_ONLY(stats.record_push()); return true; } else { @@ -210,7 +210,7 @@ #ifndef CPU_MULTI_COPY_ATOMIC OrderAccess::fence(); #endif - uint localBot = OrderAccess::load_acquire(&_bottom); + uint localBot = Atomic::load_acquire(&_bottom); uint n_elems = size(localBot, oldAge.top()); if (n_elems == 0) { return false;