Home
last modified time | relevance | path

Searched refs:ReaderWriterMutex (Results 1 – 17 of 17) sorted by relevance

/art/runtime/base/
Dlocks.h32 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_);
Dlocks.cc41 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 …]
Dmutex.h51 class SHARED_LOCKABLE ReaderWriterMutex; variable
314 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu);
315 class SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex {
317 explicit ReaderWriterMutex(const char* name, LockLevel level = kDefaultMutexLevel);
318 ~ReaderWriterMutex();
396 const ReaderWriterMutex& operator!() const { return *this; }
418 DISALLOW_COPY_AND_ASSIGN(ReaderWriterMutex);
435 class SHARED_LOCKABLE MutatorMutex : public ReaderWriterMutex {
438 : ReaderWriterMutex(name, level) {} in ReaderWriterMutex() function
524 ALWAYS_INLINE ReaderMutexLock(Thread* self, ReaderWriterMutex& mu) ACQUIRE(mu);
[all …]
Dmutex-inl.h177 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()
Dmutex_test.cc140 ReaderWriterMutex mu("test rwmutex"); in TEST_F()
151 ReaderWriterMutex mu("test rwmutex"); in TEST_F()
162 ReaderWriterMutex mu("test rwmutex"); in SharedTryLockUnlockTest()
Dmutex.cc734 ReaderWriterMutex::ReaderWriterMutex(const char* name, LockLevel level) in ReaderWriterMutex() function in art::ReaderWriterMutex
745 ReaderWriterMutex::~ReaderWriterMutex() { in ~ReaderWriterMutex()
762 void ReaderWriterMutex::ExclusiveLock(Thread* self) { in ExclusiveLock()
802 void ReaderWriterMutex::ExclusiveUnlock(Thread* self) { in ExclusiveUnlock()
834 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout()
895 void ReaderWriterMutex::HandleSharedLockContention(Thread* self, int32_t cur_state) { in HandleSharedLockContention()
914 bool ReaderWriterMutex::SharedTryLock(Thread* self) { in SharedTryLock()
943 bool ReaderWriterMutex::IsSharedHeld(const Thread* self) const { in IsSharedHeld()
954 void ReaderWriterMutex::Dump(std::ostream& os) const { in Dump()
966 std::ostream& operator<<(std::ostream& os, const ReaderWriterMutex& mu) { in operator <<()
[all …]
/art/compiler/dex/
Dverification_results.h78 mutable ReaderWriterMutex verified_methods_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
82 mutable ReaderWriterMutex rejected_classes_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
/art/runtime/
Dclass_table.h256 ReaderWriterMutex& GetLock() { in GetLock()
272 mutable ReaderWriterMutex lock_;
Druntime_callbacks.h45 class ReaderWriterMutex; variable
282 std::unique_ptr<ReaderWriterMutex> callback_lock_ BOTTOM_MUTEX_ACQUIRED_AFTER;
Dinstrumentation.h45 class SHARED_LOCKABLE ReaderWriterMutex; variable
650 ReaderWriterMutex* GetDeoptimizedMethodsLock() const { in GetDeoptimizedMethodsLock()
739 mutable std::unique_ptr<ReaderWriterMutex> deoptimized_methods_lock_ BOTTOM_MUTEX_ACQUIRED_AFTER;
Dmutator_gc_coord.md89 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
Druntime_callbacks.cc31 : callback_lock_(new ReaderWriterMutex("Runtime callbacks lock", in RuntimeCallbacks()
Dinstrumentation.cc187 deoptimized_methods_lock_(new ReaderWriterMutex("deoptimized methods lock", in Instrumentation()
Dthread.cc1963 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); in DumpState()
/art/openjdkjvmti/
Dart_jvmti.h103 art::ReaderWriterMutex event_info_mutex_ DEFAULT_MUTEX_ACQUIRED_AFTER;
Devents.h422 mutable art::ReaderWriterMutex envs_lock_ ACQUIRED_AFTER(art::Locks::mutator_lock_);
/art/runtime/gc/allocator/
Drosalloc.h763 ReaderWriterMutex bulk_free_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;