Searched refs:ReaderWriterMutex (Results 1 – 18 of 18) sorted by relevance
/art/runtime/base/ |
D | locks.h | 32 class SHARED_LOCKABLE ReaderWriterMutex; variable 234 static ReaderWriterMutex* heap_bitmap_lock_ ACQUIRED_AFTER(mutator_lock_); 273 static ReaderWriterMutex* breakpoint_lock_ ACQUIRED_AFTER(jni_libraries_lock_); 276 static ReaderWriterMutex* classlinker_classes_lock_ ACQUIRED_AFTER(breakpoint_lock_); 290 static ReaderWriterMutex* dex_lock_ ACQUIRED_AFTER(modify_ldt_lock_); 295 static ReaderWriterMutex* oat_file_manager_lock_ ACQUIRED_AFTER(dex_lock_); 298 static ReaderWriterMutex* verifier_deps_lock_ ACQUIRED_AFTER(oat_file_manager_lock_); 325 static ReaderWriterMutex* jni_globals_lock_ ACQUIRED_AFTER(reference_queue_soft_references_lock_); 366 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; 78 ReaderWriterMutex* Locks::dex_lock_ = nullptr; 80 ReaderWriterMutex* Locks::jni_id_lock_ = nullptr; 189 heap_bitmap_lock_ = new ReaderWriterMutex("heap bitmap lock", current_lock_level); in Init() 221 breakpoint_lock_ = new ReaderWriterMutex("breakpoint lock", current_lock_level); in Init() [all …]
|
D | mutex.h | 51 class SHARED_LOCKABLE ReaderWriterMutex; variable 321 EXPORT std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu); 322 class EXPORT SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex { 324 explicit ReaderWriterMutex(const char* name, LockLevel level = kDefaultMutexLevel); 325 ~ReaderWriterMutex(); 403 const ReaderWriterMutex& operator!() const { return *this; } 425 DISALLOW_COPY_AND_ASSIGN(ReaderWriterMutex); 442 class SHARED_LOCKABLE MutatorMutex : public ReaderWriterMutex { 445 : ReaderWriterMutex(name, level) {} in ReaderWriterMutex() function 543 ALWAYS_INLINE ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) ACQUIRE(mu); [all …]
|
D | mutex-inl.h | 187 inline void ReaderWriterMutex::SharedLock(Thread* self) { in SharedLock() 208 inline void ReaderWriterMutex::SharedUnlock(Thread* self) { in SharedUnlock() 266 inline bool ReaderWriterMutex::IsExclusiveHeld(const Thread* self) const { in IsExclusiveHeld() 278 inline pid_t ReaderWriterMutex::GetExclusiveOwnerTid() const { in GetExclusiveOwnerTid() 293 inline void ReaderWriterMutex::AssertExclusiveHeld(const Thread* self) const { in AssertExclusiveHeld() 299 inline void ReaderWriterMutex::AssertWriterHeld(const Thread* self) const { in AssertWriterHeld() 313 inline ReaderMutexLock::ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) in ReaderMutexLock()
|
D | mutex_test.cc | 148 ReaderWriterMutex mu("test rwmutex"); in TEST_F() 159 ReaderWriterMutex mu("test rwmutex"); in TEST_F() 170 ReaderWriterMutex mu("test rwmutex"); in SharedTryLockUnlockTest()
|
D | mutex.cc | 768 ReaderWriterMutex::ReaderWriterMutex(const char* name, LockLevel level) in ReaderWriterMutex() function in art::ReaderWriterMutex 779 ReaderWriterMutex::~ReaderWriterMutex() { in ~ReaderWriterMutex() 796 void ReaderWriterMutex::ExclusiveLock(Thread* self) { in ExclusiveLock() 836 void ReaderWriterMutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock() 868 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() 930 void ReaderWriterMutex::HandleSharedLockContention(Thread* self, int32_t cur_state) { in HandleSharedLockContention() 949 bool ReaderWriterMutex::SharedTryLock(Thread* self, bool check) { in SharedTryLock() 978 bool ReaderWriterMutex::IsSharedHeld(const Thread* self) const { in IsSharedHeld() 989 void ReaderWriterMutex::Dump(std::ostream& os) const { in Dump() 1001 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu) { in operator <<() [all …]
|
D | gc_visited_arena_pool.h | 202 ReaderWriterMutex& GetLock() const RETURN_CAPABILITY(lock_) { return lock_; } in GetLock() 263 mutable ReaderWriterMutex lock_;
|
/art/dex2oat/dex/ |
D | verification_results.h | 48 mutable ReaderWriterMutex uncompilable_methods_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; 53 mutable ReaderWriterMutex rejected_classes_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/ |
D | class_table.h | 273 ReaderWriterMutex& GetLock() { in GetLock() 289 mutable ReaderWriterMutex lock_;
|
D | runtime_callbacks.h | 45 class ReaderWriterMutex; variable 284 std::unique_ptr<ReaderWriterMutex> callback_lock_ BOTTOM_MUTEX_ACQUIRED_AFTER;
|
D | runtime_callbacks.cc | 31 : callback_lock_(new ReaderWriterMutex("Runtime callbacks lock", in RuntimeCallbacks()
|
D | instrumentation.h | 51 class SHARED_LOCKABLE ReaderWriterMutex; variable
|
D | mutator_gc_coord.md | 89 seemingly a minor refinement of `ReaderWriterMutex`, but it is used entirely 97 `ReaderWriterMutex` in shared mode. Thus any thread acquiring the lock in exclusive mode
|
D | thread.cc | 2125 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); in DumpState()
|
/art/runtime/jni/ |
D | java_vm_ext.h | 275 ReaderWriterMutex env_hooks_lock_ BOTTOM_MUTEX_ACQUIRED_AFTER;
|
/art/openjdkjvmti/ |
D | art_jvmti.h | 112 art::ReaderWriterMutex event_info_mutex_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
D | events.h | 420 mutable art::ReaderWriterMutex envs_lock_ ACQUIRED_AFTER(art::Locks::mutator_lock_);
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 761 ReaderWriterMutex bulk_free_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|