changeset 59252 | 623722a6aeb9 |
parent 59247 | 56bf71d64d51 |
child 59290 | 97d13893ec3c |
--- a/src/hotspot/share/gc/g1/heapRegionRemSet.hpp Mon Nov 25 12:32:40 2019 +0100 +++ b/src/hotspot/share/gc/g1/heapRegionRemSet.hpp Mon Nov 25 12:33:15 2019 +0100 @@ -229,7 +229,7 @@ while (true) { PerRegionTable* fl = _free_list; last->set_next(fl); - PerRegionTable* res = Atomic::cmpxchg(prt, &_free_list, fl); + PerRegionTable* res = Atomic::cmpxchg(&_free_list, fl, prt); if (res == fl) { return; }