--- old/src/hotspot/share/gc/shared/taskqueue.inline.hpp 2019-11-21 11:55:09.724944912 +0100 +++ new/src/hotspot/share/gc/shared/taskqueue.inline.hpp 2019-11-21 11:55:09.472940650 +0100 @@ -321,7 +321,7 @@ template inline typename TaskQueueSuper::Age TaskQueueSuper::Age::cmpxchg(const Age new_age, const Age old_age) volatile { - return Atomic::cmpxchg(new_age._data, &_data, old_age._data); + return Atomic::cmpxchg(&_data, old_age._data, new_age._data); } template