Home
last modified time | relevance | path

Searched refs:alloc_tracker_lock_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/gc/
Dallocation_record.h216 REQUIRES(!Locks::alloc_tracker_lock_)
219 static void SetAllocTrackingEnabled(bool enabled) REQUIRES(!Locks::alloc_tracker_lock_);
221 AllocRecordObjectMap() REQUIRES(Locks::alloc_tracker_lock_);
226 REQUIRES(Locks::alloc_tracker_lock_) { in Put()
233 size_t Size() const REQUIRES_SHARED(Locks::alloc_tracker_lock_) { in Size()
237 size_t GetRecentAllocationSize() const REQUIRES_SHARED(Locks::alloc_tracker_lock_) { in GetRecentAllocationSize()
245 REQUIRES(Locks::alloc_tracker_lock_);
249 REQUIRES(Locks::alloc_tracker_lock_);
259 REQUIRES(Locks::alloc_tracker_lock_);
262 REQUIRES(Locks::alloc_tracker_lock_);
[all …]
Dallocation_record.cc124 REQUIRES(Locks::alloc_tracker_lock_) { in SweepClassObject()
220 MutexLock mu(self, *Locks::alloc_tracker_lock_); in SetAllocTrackingEnabled()
244 MutexLock mu(self, *Locks::alloc_tracker_lock_); in SetAllocTrackingEnabled()
251 MutexLock mu(self, *Locks::alloc_tracker_lock_); in SetAllocTrackingEnabled()
278 MutexLock mu(self, *Locks::alloc_tracker_lock_); in RecordAllocation()
295 self->CheckEmptyCheckpointFromWeakRefAccess(Locks::alloc_tracker_lock_); in RecordAllocation()
320 : new_record_condition_("New allocation record condition", *Locks::alloc_tracker_lock_) {} in AllocRecordObjectMap()
Dheap.h772 void SetAllocTrackingEnabled(bool enabled) REQUIRES(Locks::alloc_tracker_lock_) { in SetAllocTrackingEnabled()
777 REQUIRES(Locks::alloc_tracker_lock_) { in GetAllocationRecords()
782 REQUIRES(Locks::alloc_tracker_lock_);
786 REQUIRES(!Locks::alloc_tracker_lock_);
790 REQUIRES(!Locks::alloc_tracker_lock_);
794 REQUIRES(!Locks::alloc_tracker_lock_);
798 REQUIRES(!Locks::alloc_tracker_lock_);
801 REQUIRES(!Locks::alloc_tracker_lock_);
Dheap.cc4043 MutexLock mu(Thread::Current(), *Locks::alloc_tracker_lock_); in VisitAllocationRecords()
4052 MutexLock mu(Thread::Current(), *Locks::alloc_tracker_lock_); in SweepAllocationRecords()
4061 MutexLock mu(Thread::Current(), *Locks::alloc_tracker_lock_); in AllowNewAllocationRecords()
4070 MutexLock mu(Thread::Current(), *Locks::alloc_tracker_lock_); in DisallowNewAllocationRecords()
4081 MutexLock mu(Thread::Current(), *Locks::alloc_tracker_lock_); in BroadcastForNewAllocationRecords()
/art/runtime/base/
Dmutex.h647 static Mutex* alloc_tracker_lock_ ACQUIRED_AFTER(trace_lock_);
652 static Mutex* deoptimization_lock_ ACQUIRED_AFTER(alloc_tracker_lock_);
Dmutex.cc40 Mutex* Locks::alloc_tracker_lock_ = nullptr; member in art::Locks
1011 DCHECK(alloc_tracker_lock_ != nullptr); in Init()
1073 DCHECK(alloc_tracker_lock_ == nullptr); in Init()
1074 alloc_tracker_lock_ = new Mutex("AllocTracker lock", current_lock_level); in Init()
/art/runtime/
Ddebugger.h659 static void SetAllocTrackingEnabled(bool enabled) REQUIRES(!Locks::alloc_tracker_lock_);
661 REQUIRES(!Locks::alloc_tracker_lock_) REQUIRES_SHARED(Locks::mutator_lock_);
662 static void DumpRecentAllocations() REQUIRES(!Locks::alloc_tracker_lock_);
Ddebugger.cc4887 MutexLock mu(soa.Self(), *Locks::alloc_tracker_lock_); in DumpRecentAllocations()
5017 MutexLock mu(self, *Locks::alloc_tracker_lock_); in GetRecentAllocations()
/art/runtime/hprof/
Dhprof.cc447 REQUIRES(!Locks::heap_bitmap_lock_, !Locks::alloc_tracker_lock_) { in Dump()
449 MutexLock mu(Thread::Current(), *Locks::alloc_tracker_lock_); in Dump()
840 REQUIRES(Locks::mutator_lock_, Locks::alloc_tracker_lock_) { in PopulateAllocationTrackingTraces()