diff -r 56bf71d64d51 -r e92153ed8bdc src/hotspot/share/utilities/lockFreeStack.hpp --- a/src/hotspot/share/utilities/lockFreeStack.hpp Mon Nov 25 12:22:13 2019 +0100 +++ b/src/hotspot/share/utilities/lockFreeStack.hpp Mon Nov 25 12:30:24 2019 +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); } };