Lines Matching defs:lock
1915 uint64_t artQuickGenericJniEndJNIRef(Thread* self, uint32_t cookie, jobject l, jobject lock) {
1916 if (lock != nullptr) {
1917 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self));
1923 void artQuickGenericJniEndJNINonRef(Thread* self, uint32_t cookie, jobject lock) {
1924 if (lock != nullptr) {
1925 JniMethodEndSynchronized(cookie, lock, self);
1995 jobject lock = called->IsSynchronized() ? visitor.GetFirstHandleScopeJObject() : nullptr;
1997 artQuickGenericJniEndJNIRef(self, cookie, nullptr, lock);
1999 artQuickGenericJniEndJNINonRef(self, cookie, lock);
2023 // We're here just back from a native call. We don't have the shared mutator lock at this point
2025 // anything that requires a mutator lock before that would cause problems as GC may have the
2026 // exclusive mutator lock and may be moving objects, etc.
2039 // to hold the mutator lock (see SHARED_REQUIRES(Locks::mutator_lock_) annotations).