changeset 59252 | 623722a6aeb9 |
parent 57786 | 948ac3112da8 |
--- a/src/hotspot/share/opto/runtime.cpp Mon Nov 25 12:32:40 2019 +0100 +++ b/src/hotspot/share/opto/runtime.cpp Mon Nov 25 12:33:15 2019 +0100 @@ -1659,7 +1659,7 @@ c->set_next(NULL); head = _named_counters; c->set_next(head); - } while (Atomic::cmpxchg(c, &_named_counters, head) != head); + } while (Atomic::cmpxchg(&_named_counters, head, c) != head); return c; }