src/hotspot/share/opto/runtime.cpp
changeset 47634 6a0c42c40cd1
parent 47216 71c04702a3d5
child 48961 120b61d50f85
--- a/src/hotspot/share/opto/runtime.cpp	Mon Oct 16 20:22:41 2017 +0000
+++ b/src/hotspot/share/opto/runtime.cpp	Mon Oct 16 22:36:06 2017 -0400
@@ -1658,7 +1658,7 @@
     c->set_next(NULL);
     head = _named_counters;
     c->set_next(head);
-  } while (Atomic::cmpxchg_ptr(c, &_named_counters, head) != head);
+  } while (Atomic::cmpxchg(c, &_named_counters, head) != head);
   return c;
 }