Searched refs:ReaderWriterMutex (Results 1 – 16 of 16) sorted by relevance
/art/runtime/base/ |
D | locks.h | 32 class SHARED_LOCKABLE ReaderWriterMutex; variable 235 static ReaderWriterMutex* heap_bitmap_lock_ ACQUIRED_AFTER(mutator_lock_); 274 static ReaderWriterMutex* breakpoint_lock_ ACQUIRED_AFTER(jni_libraries_lock_); 277 static ReaderWriterMutex* classlinker_classes_lock_ ACQUIRED_AFTER(breakpoint_lock_); 291 static ReaderWriterMutex* dex_lock_ ACQUIRED_AFTER(modify_ldt_lock_); 294 static ReaderWriterMutex* oat_file_manager_lock_ ACQUIRED_AFTER(dex_lock_); 297 static ReaderWriterMutex* verifier_deps_lock_ ACQUIRED_AFTER(oat_file_manager_lock_); 324 static ReaderWriterMutex* jni_globals_lock_ ACQUIRED_AFTER(reference_queue_soft_references_lock_); 365 static ReaderWriterMutex* jni_id_lock_ ACQUIRED_AFTER(native_debug_interface_lock_);
|
D | locks.cc | 41 ReaderWriterMutex* Locks::breakpoint_lock_ = nullptr; 42 ReaderWriterMutex* Locks::classlinker_classes_lock_ = nullptr; 45 ReaderWriterMutex* Locks::heap_bitmap_lock_ = nullptr; 54 ReaderWriterMutex* Locks::verifier_deps_lock_ = nullptr; 55 ReaderWriterMutex* Locks::oat_file_manager_lock_ = nullptr; 75 ReaderWriterMutex* Locks::jni_globals_lock_ = nullptr; 77 ReaderWriterMutex* Locks::dex_lock_ = nullptr; 79 ReaderWriterMutex* Locks::jni_id_lock_ = nullptr; 188 heap_bitmap_lock_ = new ReaderWriterMutex("heap bitmap lock", current_lock_level); in Init() 224 breakpoint_lock_ = new ReaderWriterMutex("breakpoint lock", current_lock_level); in Init() [all …]
|
D | mutex.h | 51 class SHARED_LOCKABLE ReaderWriterMutex; variable 298 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu); 299 class SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex { 301 explicit ReaderWriterMutex(const char* name, LockLevel level = kDefaultMutexLevel); 302 ~ReaderWriterMutex(); 380 const ReaderWriterMutex& operator!() const { return *this; } 402 DISALLOW_COPY_AND_ASSIGN(ReaderWriterMutex); 419 class SHARED_LOCKABLE MutatorMutex : public ReaderWriterMutex { 422 : ReaderWriterMutex(name, level) {} in ReaderWriterMutex() function 508 ALWAYS_INLINE ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) ACQUIRE(mu); [all …]
|
D | mutex-inl.h | 177 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock() 198 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock() 256 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() 268 inline pid_t ReaderWriterMutex::GetExclusiveOwnerTid() const { in GetExclusiveOwnerTid() 283 inline void ReaderWriterMutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld() 289 inline void ReaderWriterMutex::AssertWriterHeld(const Thread* self) const { in AssertWriterHeld() 303 inline ReaderMutexLock::ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) in ReaderMutexLock()
|
D | mutex_test.cc | 140 ReaderWriterMutex mu("test rwmutex"); in TEST_F() 151 ReaderWriterMutex mu("test rwmutex"); in TEST_F() 162 ReaderWriterMutex mu("test rwmutex"); in SharedTryLockUnlockTest()
|
D | mutex.cc | 656 ReaderWriterMutex::ReaderWriterMutex(const char* name, LockLevel level) in ReaderWriterMutex() function in art::ReaderWriterMutex 667 ReaderWriterMutex::~ReaderWriterMutex() { in ~ReaderWriterMutex() 684 void ReaderWriterMutex::ExclusiveLock(Thread* self) { in ExclusiveLock() 724 void ReaderWriterMutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock() 756 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() 817 void ReaderWriterMutex::HandleSharedLockContention(Thread* self, int32_t cur_state) { in HandleSharedLockContention() 836 bool ReaderWriterMutex::SharedTryLock(Thread* self) { in SharedTryLock() 865 bool ReaderWriterMutex::IsSharedHeld(const Thread* self) const { in IsSharedHeld() 876 void ReaderWriterMutex::Dump(std::ostream& os) const { in Dump() 888 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu) { in operator <<() [all …]
|
/art/compiler/dex/ |
D | verification_results.h | 78 mutable ReaderWriterMutex verified_methods_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; 82 mutable ReaderWriterMutex rejected_classes_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/ |
D | class_table.h | 267 ReaderWriterMutex& GetLock() { in GetLock() 287 mutable ReaderWriterMutex lock_;
|
D | runtime_callbacks.h | 45 class ReaderWriterMutex; variable 282 std::unique_ptr<ReaderWriterMutex> callback_lock_ BOTTOM_MUTEX_ACQUIRED_AFTER;
|
D | instrumentation.h | 45 class SHARED_LOCKABLE ReaderWriterMutex; variable 650 ReaderWriterMutex* GetDeoptimizedMethodsLock() const { in GetDeoptimizedMethodsLock() 739 mutable std::unique_ptr<ReaderWriterMutex> deoptimized_methods_lock_ BOTTOM_MUTEX_ACQUIRED_AFTER;
|
D | runtime_callbacks.cc | 31 : callback_lock_(new ReaderWriterMutex("Runtime callbacks lock", in RuntimeCallbacks()
|
D | instrumentation.cc | 187 deoptimized_methods_lock_(new ReaderWriterMutex("deoptimized methods lock", in Instrumentation()
|
D | thread.cc | 1953 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); in DumpState()
|
/art/openjdkjvmti/ |
D | art_jvmti.h | 103 art::ReaderWriterMutex event_info_mutex_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
D | events.h | 422 mutable art::ReaderWriterMutex envs_lock_ ACQUIRED_AFTER(art::Locks::mutator_lock_);
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 763 ReaderWriterMutex bulk_free_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|