< prev index next >
src/hotspot/share/runtime/objectMonitor.hpp
Print this page
rev 57560 : imported patch 8236035.patch.cr0
rev 57561 : dholmes CR - rename simply_set_owner_from() -> set_owner_from() and simply_set_owner_from_BasicLock() -> set_owner_from_BasicLock(); rename release_clear_owner_with_barrier() -> release_clear_owner() and refactor barrier code back into the call sites.
*** 231,245 ****
intptr_t is_entered(Thread* current) const;
void* owner() const;
// Clear _owner field; current value must match old_value.
! void release_clear_owner_with_barrier(void* old_value, bool needs_fence);
// Simply set _owner field to new_value; current value must match old_value.
! void simply_set_owner_from(void* old_value, void* new_value);
// Simply set _owner field to self; current value must match basic_lock_p.
! void simply_set_owner_from_BasicLock(void* basic_lock_p, Thread* self);
// Try to set _owner field to new_value if the current value matches
// old_value. Otherwise, does not change the _owner field.
void* try_set_owner_from(void* old_value, void* new_value);
jint waiters() const;
--- 231,245 ----
intptr_t is_entered(Thread* current) const;
void* owner() const;
// Clear _owner field; current value must match old_value.
! void release_clear_owner(void* old_value);
// Simply set _owner field to new_value; current value must match old_value.
! void set_owner_from(void* old_value, void* new_value);
// Simply set _owner field to self; current value must match basic_lock_p.
! void set_owner_from_BasicLock(void* basic_lock_p, Thread* self);
// Try to set _owner field to new_value if the current value matches
// old_value. Otherwise, does not change the _owner field.
void* try_set_owner_from(void* old_value, void* new_value);
jint waiters() const;
< prev index next >