Lines Matching defs:lock
2037 jobject lock) {
2039 if (lock != nullptr) {
2040 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self));
2049 jobject lock) {
2050 if (lock != nullptr) {
2051 JniMethodEndSynchronized(cookie, lock, self);
2178 jobject lock = called->IsSynchronized() ? visitor.GetFirstHandleScopeJObject() : nullptr;
2180 artQuickGenericJniEndJNIRef(self, cookie, fast_native, nullptr, lock);
2182 artQuickGenericJniEndJNINonRef(self, cookie, fast_native, lock);
2242 // We're here just back from a native call. We don't have the shared mutator lock at this point
2244 // anything that requires a mutator lock before that would cause problems as GC may have the
2245 // exclusive mutator lock and may be moving objects, etc.
2258 // to hold the mutator lock (see REQUIRES_SHARED(Locks::mutator_lock_) annotations).