Home
last modified time | relevance | path

Searched refs:records (Results 1 – 6 of 6) sorted by relevance

/art/tools/dmtracedump/
Dcreatetesttrace.cc72 dataRecord* records; variable
145 records = new dataRecord[numRecords]; in parseInputFile()
197 records[nextRecord].time = time; in parseInputFile()
198 records[nextRecord].threadId = threadId; in parseInputFile()
208 records[nextRecord].fullName = strndup(save_cp, len); in parseInputFile()
211 records[nextRecord].className = nullptr; in parseInputFile()
212 records[nextRecord].methodName = nullptr; in parseInputFile()
213 records[nextRecord].signature = nullptr; in parseInputFile()
217 if (len > 0) records[nextRecord].className = strndup(save_cp, len); in parseInputFile()
223 records[nextRecord].methodName = strndup(save_cp, len); in parseInputFile()
[all …]
/art/runtime/gc/
Dallocation_record.cc223 AllocRecordObjectMap* records = heap->GetAllocationRecords(); in SetAllocTrackingEnabled() local
224 if (records == nullptr) { in SetAllocTrackingEnabled()
225 records = new AllocRecordObjectMap; in SetAllocTrackingEnabled()
226 heap->SetAllocationRecords(records); in SetAllocTrackingEnabled()
228 CHECK(records != nullptr); in SetAllocTrackingEnabled()
229 records->SetProperties(); in SetAllocTrackingEnabled()
233 records->alloc_ddm_thread_id_ = self->GetTid(); in SetAllocTrackingEnabled()
235 size_t sz = sizeof(AllocRecordStackTraceElement) * records->max_stack_depth_ + in SetAllocTrackingEnabled()
237 LOG(INFO) << "Enabling alloc tracker (" << records->alloc_record_max_ << " entries of " in SetAllocTrackingEnabled()
238 << records->max_stack_depth_ << " frames, taking up to " in SetAllocTrackingEnabled()
[all …]
Dheap.h758 void SetAllocationRecords(AllocRecordObjectMap* records)
Dheap.cc3985 void Heap::SetAllocationRecords(AllocRecordObjectMap* records) { in SetAllocationRecords() argument
3986 allocation_records_.reset(records); in SetAllocationRecords()
/art/runtime/hprof/
Dhprof.cc820 gc::AllocRecordObjectMap* records = Runtime::Current()->GetHeap()->GetAllocationRecords(); in PopulateAllocationTrackingTraces() local
821 CHECK(records != nullptr); in PopulateAllocationTrackingTraces()
826 for (auto it = records->Begin(), end = records->End(); it != end; ++it) { in PopulateAllocationTrackingTraces()
/art/runtime/
Ddebugger.cc4838 gc::AllocRecordObjectMap* records = Runtime::Current()->GetHeap()->GetAllocationRecords(); in DumpRecentAllocations() local
4839 CHECK(records != nullptr); in DumpRecentAllocations()
4841 const uint16_t capped_count = CappedAllocRecordCount(records->GetRecentAllocationSize()); in DumpRecentAllocations()
4845 for (auto it = records->RBegin(), end = records->REnd(); in DumpRecentAllocations()
4963 gc::AllocRecordObjectMap* records = Runtime::Current()->GetHeap()->GetAllocationRecords(); in GetRecentAllocations() local
4967 if (records == nullptr) { in GetRecentAllocations()
4969 records = &dummy; in GetRecentAllocations()
4982 const uint16_t capped_count = CappedAllocRecordCount(records->GetRecentAllocationSize()); in GetRecentAllocations()
4984 for (auto it = records->RBegin(), end = records->REnd(); in GetRecentAllocations()
4998 LOG(INFO) << "allocation records all objects: " << records->Size(); in GetRecentAllocations()
[all …]