Searched refs:Mutex (Results 1 - 25 of 51) sorted by relevance
123
/art/runtime/base/ |
H A D | mutex.h | 51 // LockLevel is used to impose a lock hierarchy [1] where acquisition of a Mutex at a higher or 140 // Base class for all Mutex implementations 184 // Number of times the Mutex has been contended. 202 // A Mutex is used to achieve mutual exclusion between threads. A Mutex can be used to gain 203 // exclusive access to what it guards. A Mutex can be in one of two states: 212 // * Mutex is not reentrant and so an attempt to ExclusiveLock on the same thread will result in 214 std::ostream& operator<<(std::ostream& os, const Mutex& mu); 215 class LOCKABLE Mutex : public BaseMutex { class in namespace:art 217 explicit Mutex(cons [all...] |
H A D | mutex.cc | 34 Mutex* Locks::abort_lock_ = nullptr; 35 Mutex* Locks::alloc_tracker_lock_ = nullptr; 36 Mutex* Locks::allocated_monitor_ids_lock_ = nullptr; 37 Mutex* Locks::allocated_thread_ids_lock_ = nullptr; 40 Mutex* Locks::deoptimization_lock_ = nullptr; 42 Mutex* Locks::instrument_entrypoints_lock_ = nullptr; 43 Mutex* Locks::intern_table_lock_ = nullptr; 44 Mutex* Locks::interpreter_string_init_map_lock_ = nullptr; 45 Mutex* Locks::jni_libraries_lock_ = nullptr; 46 Mutex* Lock 315 Mutex::Mutex(const char* name, LockLevel level, bool recursive) function in class:art::Mutex [all...] |
H A D | mutex_test.cc | 27 static void AssertDepth(Mutex& mu, uint32_t expected_depth) { 40 Mutex mu("test mutex"); 50 Mutex mu("test mutex"); 64 Mutex mu("test mutex", kDefaultMutexLevel, true); 82 Mutex mu("test mutex", kDefaultMutexLevel, true); 104 Mutex mu;
|
H A D | mutex-inl.h | 87 // Check if a bad Mutex of this level or lower is held. 178 inline bool Mutex::IsExclusiveHeld(const Thread* self) const { 190 inline uint64_t Mutex::GetExclusiveOwnerTid() const {
|
H A D | timing_logger.h | 70 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/ |
H A D | atomic.cc | 24 std::vector<Mutex*>* QuasiAtomic::gSwapMutexes = nullptr; 26 Mutex* QuasiAtomic::GetSwapMutex(const volatile int64_t* addr) { 32 gSwapMutexes = new std::vector<Mutex*>; 34 gSwapMutexes->push_back(new Mutex("QuasiAtomic stripe", kSwapMutexesLock));
|
H A D | barrier.h | 70 Mutex lock_ ACQUIRED_AFTER(Locks::abort_lock_);
|
H A D | linear_alloc.h | 55 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
H A D | signal_catcher.h | 54 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
H A D | atomic.h | 31 class Mutex; 175 static Mutex* GetSwapMutex(const volatile int64_t* addr); 182 static std::vector<Mutex*>* gSwapMutexes;
|
H A D | profiler.h | 104 explicit ProfileSampleResults(Mutex& lock); 119 Mutex& lock_; // Reference to the main profiler lock - we don't need two of them. 223 Mutex wait_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
H A D | thread_pool.h | 134 Mutex task_queue_lock_;
|
H A D | java_vm_ext.h | 160 Mutex& WeakGlobalsLock() RETURN_CAPABILITY(weak_globals_lock_) { 208 Mutex weak_globals_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/gc/ |
H A D | reference_queue.h | 52 explicit ReferenceQueue(Mutex* lock); 105 Mutex* const lock_;
|
H A D | reference_queue_test.cc | 32 Mutex lock("Reference queue lock"); 66 Mutex lock("Reference queue lock");
|
H A D | task_processor.h | 77 mutable Mutex* lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
H A D | task_processor.cc | 26 : lock_(new Mutex("Task processor lock", kReferenceProcessorLock)), is_running_(false),
|
/art/runtime/jdwp/ |
H A D | jdwp_priv.h | 93 Mutex* GetSocketLock() { 117 Mutex socket_lock_;
|
H A D | jdwp.h | 357 Mutex thread_start_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; 374 Mutex attach_lock_ ACQUIRED_AFTER(thread_start_lock_); 385 Mutex event_list_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER ACQUIRED_BEFORE(Locks::breakpoint_lock_); 394 Mutex jdwp_token_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; 408 Mutex shutdown_lock_ ACQUIRED_AFTER(event_list_lock_);
|
H A D | object_registry.h | 128 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/gc/space/ |
H A D | large_object_space.h | 154 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER; 209 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
H A D | malloc_space.h | 179 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/gc/collector/ |
H A D | garbage_collector.h | 219 mutable Mutex pause_histogram_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
/art/runtime/jit/ |
H A D | debugger_interface.cc | 71 static Mutex g_jit_debug_mutex("JIT debug interface lock", kJitDebugInterfaceLock);
|
H A D | profile_saver.h | 142 Mutex wait_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
|
Completed in 446 milliseconds
123