Lines Matching defs:owner
640 // see if owner of the monitor is our object
641 if (mi->owner() != NULL && mi->owner() == hobj()) {
761 oop obj = mi->owner();
960 // first derive the object's owner and entry_count (if any)
969 address owner = NULL;
977 owner = (address)mark->locker(); // save the address of the Lock word
979 // implied else: no owner
984 // The owner field of a heavyweight monitor may be NULL for no
985 // owner, a JavaThread * or it may still be the address of the
988 // can change the owner field from the Lock word to the
990 owner = (address)mon->owner();
994 if (owner != NULL) {
997 // move our object at this point. However, our owner value is safe
999 owning_thread = Threads::owning_thread_from_monitor_owner(owner, !at_safepoint);
1002 // The monitor's owner either has to be the current thread, at safepoint
1011 ret.owner = (jthread)jni_reference(calling_thread, th);
1013 // implied else: no owner
1017 if ((address)owning_thread == owner) {
1018 // the owner field is the JavaThread *
1020 "must have heavyweight monitor with JavaThread * owner");
1023 // The owner field is the Lock word on the JavaThread's stack
1085 // If the monitor has no owner, then a non-suspended contending
1090 if (ret.owner != NULL) {
1091 destroy_jni_reference(calling_thread, ret.owner);
1447 if (mon->owner() == _java_thread ) {