src/hotspot/share/gc/parallel/psParallelCompact.hpp
changeset 47634 6a0c42c40cd1
parent 47552 8a3599d60996
child 48955 e22914003cf0
--- a/src/hotspot/share/gc/parallel/psParallelCompact.hpp	Mon Oct 16 20:22:41 2017 +0000
+++ b/src/hotspot/share/gc/parallel/psParallelCompact.hpp	Mon Oct 16 22:36:06 2017 -0400
@@ -586,7 +586,7 @@
 #ifdef ASSERT
   HeapWord* tmp = _highest_ref;
   while (addr > tmp) {
-    tmp = (HeapWord*)Atomic::cmpxchg_ptr(addr, &_highest_ref, tmp);
+    tmp = Atomic::cmpxchg(addr, &_highest_ref, tmp);
   }
 #endif  // #ifdef ASSERT
 }