diff src/share/vm/utilities/bitMap.cpp @ 14379:c66479743828

Merge
author hseigel
date Sat, 15 Feb 2014 14:41:04 -0500
parents 3dc1055f4e87
children 8a9bb7821e28
line wrap: on
line diff
--- a/src/share/vm/utilities/bitMap.cpp	Sat Feb 15 13:03:38 2014 -0500
+++ b/src/share/vm/utilities/bitMap.cpp	Sat Feb 15 14:41:04 2014 -0500
@@ -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);
     }
   }