< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahForwarding.hpp

Print this page

        

*** 50,67 **** /** * Returns true if the object is forwarded, false otherwise. */ static inline bool is_forwarded(oop obj); ! /* Tries to atomically update forwardee in $holder object to $update. * Assumes $holder points at itself. * Asserts $holder is in from-space. * Asserts $update is in to-space. - * - * Returns the new object 'update' upon success, or - * the new forwardee that a competing thread installed. */ ! static inline oop try_update_forwardee(oop obj, oop update); }; #endif // SHARE_GC_SHENANDOAH_SHENANDOAHFORWARDING_HPP --- 50,64 ---- /** * Returns true if the object is forwarded, false otherwise. */ static inline bool is_forwarded(oop obj); ! /* Update forwardee in $holder object to $update. * Assumes $holder points at itself. * Asserts $holder is in from-space. * Asserts $update is in to-space. */ ! static inline void update_forwardee(oop obj, oop update); }; #endif // SHARE_GC_SHENANDOAH_SHENANDOAHFORWARDING_HPP
< prev index next >