< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page

        

@@ -534,11 +534,11 @@
   return _reference_pending_list != NULL;
 }
 
 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
 #undef assert_pll_ownership
 
< prev index next >