src/hotspot/share/memory/universe.cpp
changeset 47634 6a0c42c40cd1
parent 47622 817f2a7019e4
child 47819 ee36a8e36561
child 55767 8e22715afabc
--- a/src/hotspot/share/memory/universe.cpp	Mon Oct 16 20:22:41 2017 +0000
+++ b/src/hotspot/share/memory/universe.cpp	Mon Oct 16 22:36:06 2017 -0400
@@ -537,7 +537,7 @@
 
 oop Universe::swap_reference_pending_list(oop list) {
   assert_pll_locked(is_locked);
-  return (oop)Atomic::xchg_ptr(list, &_reference_pending_list);
+  return Atomic::xchg(list, &_reference_pending_list);
 }
 
 #undef assert_pll_locked