src/hotspot/share/oops/oop.hpp
changeset 52271 1587306fe23f
parent 52119 88916200bdd7
child 53156 488773472a63
equal deleted inserted replaced
52270:487bd00f4ea8 52271:1587306fe23f
   271 
   271 
   272   // Like "forward_to", but inserts the forwarding pointer atomically.
   272   // Like "forward_to", but inserts the forwarding pointer atomically.
   273   // Exactly one thread succeeds in inserting the forwarding pointer, and
   273   // Exactly one thread succeeds in inserting the forwarding pointer, and
   274   // this call returns "NULL" for that thread; any other thread has the
   274   // this call returns "NULL" for that thread; any other thread has the
   275   // value of the forwarding pointer returned and does not modify "this".
   275   // value of the forwarding pointer returned and does not modify "this".
   276   inline oop forward_to_atomic(oop p, atomic_memory_order order = memory_order_conservative);
   276   inline oop forward_to_atomic(oop p, markOop compare, atomic_memory_order order = memory_order_conservative);
   277 
   277 
   278   inline oop forwardee() const;
   278   inline oop forwardee() const;
   279   inline oop forwardee_acquire() const;
   279   inline oop forwardee_acquire() const;
   280 
   280 
   281   // Age of object during scavenge
   281   // Age of object during scavenge