< prev index next >

src/hotspot/share/gc/shared/taskqueue.inline.hpp

Print this page
rev 47400 : [mq]: cmpxchg_ptr

@@ -257,11 +257,11 @@
   return false;
 }
 
 template <unsigned int N, MEMFLAGS F>
 inline typename TaskQueueSuper<N, F>::Age TaskQueueSuper<N, F>::Age::cmpxchg(const Age new_age, const Age old_age) volatile {
-  return (size_t) Atomic::cmpxchg_ptr((intptr_t)new_age._data,
+  return (size_t) Atomic::cmpxchg((intptr_t)new_age._data,
                                       (volatile intptr_t *)&_data,
                                       (intptr_t)old_age._data);
 }
 
 template<class E, MEMFLAGS F, unsigned int N>
< prev index next >