Searched refs:Mutex (Results 1 - 25 of 51) sorted by relevance

123

/art/runtime/base/
H A Dmutex.h51 // 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 Dmutex.cc34 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 Dmutex_test.cc27 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 Dmutex-inl.h87 // 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 Dtiming_logger.h70 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
/art/runtime/
H A Datomic.cc24 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 Dbarrier.h70 Mutex lock_ ACQUIRED_AFTER(Locks::abort_lock_);
H A Dlinear_alloc.h55 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
H A Dsignal_catcher.h54 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
H A Datomic.h31 class Mutex;
175 static Mutex* GetSwapMutex(const volatile int64_t* addr);
182 static std::vector<Mutex*>* gSwapMutexes;
H A Dprofiler.h104 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 Dthread_pool.h134 Mutex task_queue_lock_;
H A Djava_vm_ext.h160 Mutex& WeakGlobalsLock() RETURN_CAPABILITY(weak_globals_lock_) {
208 Mutex weak_globals_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
/art/runtime/gc/
H A Dreference_queue.h52 explicit ReferenceQueue(Mutex* lock);
105 Mutex* const lock_;
H A Dreference_queue_test.cc32 Mutex lock("Reference queue lock");
66 Mutex lock("Reference queue lock");
H A Dtask_processor.h77 mutable Mutex* lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
H A Dtask_processor.cc26 : lock_(new Mutex("Task processor lock", kReferenceProcessorLock)), is_running_(false),
/art/runtime/jdwp/
H A Djdwp_priv.h93 Mutex* GetSocketLock() {
117 Mutex socket_lock_;
H A Djdwp.h357 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 Dobject_registry.h128 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
/art/runtime/gc/space/
H A Dlarge_object_space.h154 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
209 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
H A Dmalloc_space.h179 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
/art/runtime/gc/collector/
H A Dgarbage_collector.h219 mutable Mutex pause_histogram_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
/art/runtime/jit/
H A Ddebugger_interface.cc71 static Mutex g_jit_debug_mutex("JIT debug interface lock", kJitDebugInterfaceLock);
H A Dprofile_saver.h142 Mutex wait_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;

Completed in 446 milliseconds

123