Home
last modified time | relevance | path

Searched refs:jni_id_lock_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jni/
Djni_id_manager.h53 ArtMethod* DecodeMethodId(jmethodID method) REQUIRES(!Locks::jni_id_lock_);
54 ArtField* DecodeFieldId(jfieldID field) REQUIRES(!Locks::jni_id_lock_);
55 jmethodID EncodeMethodId(ReflectiveHandle<ArtMethod> method) REQUIRES(!Locks::jni_id_lock_)
57 jmethodID EncodeMethodId(ArtMethod* method) REQUIRES(!Locks::jni_id_lock_)
59 jfieldID EncodeFieldId(ReflectiveHandle<ArtField> field) REQUIRES(!Locks::jni_id_lock_)
61 jfieldID EncodeFieldId(ArtField* field) REQUIRES(!Locks::jni_id_lock_)
65 REQUIRES(Locks::mutator_lock_, !Locks::jni_id_lock_);
73 uintptr_t EncodeGenericId(ReflectiveHandle<ArtType> t) REQUIRES(!Locks::jni_id_lock_)
76 ArtType* DecodeGenericId(uintptr_t input) REQUIRES(!Locks::jni_id_lock_);
78 REQUIRES(Locks::jni_id_lock_);
[all …]
Djni_id_manager.cc302 WriterMutexLock mu(self, *Locks::jni_id_lock_); in EncodeGenericId()
418 art::WriterMutexLock mu(Thread::Current(), *Locks::jni_id_lock_); in VisitReflectiveTargets()
507 ReaderMutexLock mu(Thread::Current(), *Locks::jni_id_lock_); in DecodeGenericId()
557 WriterMutexLock mu(self, *Locks::jni_id_lock_); in StartDefer()
658 ReaderMutexLock mu(self, *Locks::jni_id_lock_); in EndDefer()
673 WriterMutexLock mu(self, *Locks::jni_id_lock_); in EndDefer()
/art/runtime/base/
Dlocks.h365 static ReaderWriterMutex* jni_id_lock_ ACQUIRED_AFTER(native_debug_interface_lock_);
368 static Mutex* logging_lock_ ACQUIRED_AFTER(jni_id_lock_);
Dlocks.cc79 ReaderWriterMutex* Locks::jni_id_lock_ = nullptr; member in art::Locks
161 DCHECK(jni_id_lock_ != nullptr); in Init()
323 DCHECK(jni_id_lock_ == nullptr); in Init()
324 jni_id_lock_ = new ReaderWriterMutex("JNI id map lock", current_lock_level); in Init()