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()
156 size_t sz = sizeof(AllocRecordStackTraceElement) * records->max_stack_depth_ + in SetAllocTrackingEnabled()
158 LOG(INFO) << "Enabling alloc tracker (" << records->alloc_record_max_ << " entries of " in SetAllocTrackingEnabled()
159 << records->max_stack_depth_ << " frames, taking up to " in SetAllocTrackingEnabled()
160 << PrettySize(sz * records->alloc_record_max_) << ")"; in SetAllocTrackingEnabled()
177 AllocRecordObjectMap* records = heap->GetAllocationRecords(); in SetAllocTrackingEnabled() local
178 records->Clear(); in SetAllocTrackingEnabled()