< prev index next >

src/hotspot/share/runtime/objectMonitor.hpp

Print this page
rev 57232 : [mq]: 8236035.patch.cr0

*** 230,240 **** const char* is_busy_to_string(stringStream* ss); intptr_t is_entered(Thread* current) const; void* owner() const; ! void set_owner(void* owner); jint waiters() const; jint contentions() const; intx recursions() const { return _recursions; } --- 230,248 ---- const char* is_busy_to_string(stringStream* ss); 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; jint contentions() const; intx recursions() const { return _recursions; }
< prev index next >