changeset 59248 | e92153ed8bdc |
parent 53404 | 9ff1e6cacac3 |
child 59251 | 4cbfa5077d68 |
--- 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); } };