Lines Matching refs:lock_
54 MutexLock mu(Thread::Current(), lock_); in GetBytesAllocated()
58 MutexLock mu(Thread::Current(), lock_); in GetObjectsAllocated()
62 MutexLock mu(Thread::Current(), lock_); in GetTotalBytesAllocated()
66 MutexLock mu(Thread::Current(), lock_); in GetTotalObjectsAllocated()
126 mutable Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
132 uint64_t num_bytes_allocated_ GUARDED_BY(lock_);
133 uint64_t num_objects_allocated_ GUARDED_BY(lock_);
137 uint64_t total_bytes_allocated_ GUARDED_BY(lock_);
138 uint64_t total_objects_allocated_ GUARDED_BY(lock_);
157 size_t AllocationSize(mirror::Object* obj, size_t* usable_size) override REQUIRES(!lock_);
160 REQUIRES(!lock_);
161 size_t Free(Thread* self, mirror::Object* ptr) override REQUIRES(!lock_);
162 void Walk(DlMallocSpace::WalkCallback, void* arg) override REQUIRES(!lock_);
165 void ForEachMemMap(std::function<void(const MemMap&)> func) const override REQUIRES(!lock_);
166 std::pair<uint8_t*, uint8_t*> GetBeginEndAtomic() const override REQUIRES(!lock_);
176 bool IsZygoteLargeObject(Thread* self, mirror::Object* obj) const override REQUIRES(!lock_);
178 REQUIRES(!lock_)
182 GUARDED_BY(lock_);
193 REQUIRES(lock_);
196 override REQUIRES(!lock_);
197 size_t Free(Thread* self, mirror::Object* obj) override REQUIRES(!lock_);
198 void Walk(DlMallocSpace::WalkCallback callback, void* arg) override REQUIRES(!lock_);
199 void Dump(std::ostream& os) const override REQUIRES(!lock_);
200 void ForEachMemMap(std::function<void(const MemMap&)> func) const override REQUIRES(!lock_);
201 std::pair<uint8_t*, uint8_t*> GetBeginEndAtomic() const override REQUIRES(!lock_);
219 void RemoveFreePrev(AllocationInfo* info) REQUIRES(lock_);
222 REQUIRES(!lock_)
240 size_t free_end_ GUARDED_BY(lock_);
241 FreeBlocks free_blocks_ GUARDED_BY(lock_);