changeset 22769 | 516e9b159656 |
parent 22234 | da823d78ad65 |
child 22876 | 57aa8995d43b |
--- a/hotspot/src/share/vm/utilities/bitMap.cpp Thu Feb 06 14:12:43 2014 +0100 +++ b/hotspot/src/share/vm/utilities/bitMap.cpp Thu Feb 06 17:12:10 2014 +0100 @@ -107,7 +107,7 @@ while (true) { intptr_t res = Atomic::cmpxchg_ptr(nw, pw, w); if (res == w) break; - w = *pw; + w = res; nw = value ? (w | ~mr) : (w & mr); } }