Lines Matching refs:records
149 AllocRecordObjectMap* records = heap->GetAllocationRecords(); in SetAllocTrackingEnabled() local
150 if (records == nullptr) { in SetAllocTrackingEnabled()
151 records = new AllocRecordObjectMap; in SetAllocTrackingEnabled()
152 heap->SetAllocationRecords(records); in SetAllocTrackingEnabled()
154 CHECK(records != nullptr); in SetAllocTrackingEnabled()
155 records->SetMaxStackDepth(heap->GetAllocTrackerStackDepth()); in SetAllocTrackingEnabled()
159 records->alloc_ddm_thread_id_ = self->GetTid(); in SetAllocTrackingEnabled()
161 size_t sz = sizeof(AllocRecordStackTraceElement) * records->max_stack_depth_ + in SetAllocTrackingEnabled()
163 LOG(INFO) << "Enabling alloc tracker (" << records->alloc_record_max_ << " entries of " in SetAllocTrackingEnabled()
164 << records->max_stack_depth_ << " frames, taking up to " in SetAllocTrackingEnabled()
165 << PrettySize(sz * records->alloc_record_max_) << ")"; in SetAllocTrackingEnabled()
182 AllocRecordObjectMap* records = heap->GetAllocationRecords(); in SetAllocTrackingEnabled() local
183 records->Clear(); in SetAllocTrackingEnabled()