--- old/src/hotspot/share/utilities/lockFreeStack.hpp 2019-11-21 11:52:17.798078558 +0100 +++ new/src/hotspot/share/utilities/lockFreeStack.hpp 2019-11-21 11:52:17.306070520 +0100 @@ -170,7 +170,7 @@ // if value is in an instance of this specialization of LockFreeStack, // there must be no concurrent push or pop operations on that stack. static void set_next(T& value, T* new_next) { - Atomic::store(new_next, next_ptr(value)); + Atomic::store(next_ptr(value), new_next); } };