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 EXPORT ArtMethod* DecodeMethodId(jmethodID method) REQUIRES(!Locks::jni_id_lock_);
54 EXPORT ArtField* DecodeFieldId(jfieldID field) REQUIRES(!Locks::jni_id_lock_);
55 EXPORT jmethodID EncodeMethodId(ReflectiveHandle<ArtMethod> method) REQUIRES(!Locks::jni_id_lock_)
57 EXPORT jmethodID EncodeMethodId(ArtMethod* method) REQUIRES(!Locks::jni_id_lock_)
59 EXPORT jfieldID EncodeFieldId(ReflectiveHandle<ArtField> field) REQUIRES(!Locks::jni_id_lock_)
61 EXPORT 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.cc330 WriterMutexLock mu(self, *Locks::jni_id_lock_); in EncodeGenericId()
446 art::WriterMutexLock mu(Thread::Current(), *Locks::jni_id_lock_); in VisitReflectiveTargets()
535 ReaderMutexLock mu(Thread::Current(), *Locks::jni_id_lock_); in DecodeGenericId()
585 WriterMutexLock mu(self, *Locks::jni_id_lock_); in StartDefer()
686 ReaderMutexLock mu(self, *Locks::jni_id_lock_); in EndDefer()
701 WriterMutexLock mu(self, *Locks::jni_id_lock_); in EndDefer()
/art/runtime/base/
Dlocks.cc80 ReaderWriterMutex* Locks::jni_id_lock_ = nullptr; member in art::Locks
162 DCHECK(jni_id_lock_ != nullptr); in Init()
328 DCHECK(jni_id_lock_ == nullptr); in Init()
329 jni_id_lock_ = new ReaderWriterMutex("JNI id map lock", current_lock_level); in Init()
Dlocks.h366 static ReaderWriterMutex* jni_id_lock_ ACQUIRED_AFTER(native_debug_interface_lock_);
369 static Mutex* logging_lock_ ACQUIRED_AFTER(jni_id_lock_);