Home
last modified time | relevance | path

Searched refs:AllocRecordStackTrace (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/
Dallocation_record.h74 class AllocRecordStackTrace {
78 AllocRecordStackTrace() = default;
80 AllocRecordStackTrace(AllocRecordStackTrace&& r) in AllocRecordStackTrace() function
84 AllocRecordStackTrace(const AllocRecordStackTrace& r) in AllocRecordStackTrace() function
115 bool operator==(const AllocRecordStackTrace& other) const {
128 AllocRecordStackTrace::kHashMultiplier + std::hash<uint32_t>()(r.GetDexPc()); in operator()
131 size_t operator()(const AllocRecordStackTrace& r) const { in operator()
133 size_t result = r.GetTid() * AllocRecordStackTrace::kHashMultiplier + depth; in operator()
135 result = result * AllocRecordStackTrace::kHashMultiplier + (*this)(r.GetStackElement(i)); in operator()
159 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) in AllocRecord()
[all …]
Dallocation_record.cc189 AllocRecordStackVisitor(Thread* thread, size_t max_depth, AllocRecordStackTrace* trace_out) in AllocRecordStackVisitor()
212 AllocRecordStackTrace* const trace_;
237 sizeof(AllocRecord) + sizeof(AllocRecordStackTrace); in SetAllocTrackingEnabled()
270 AllocRecordStackTrace trace; in RecordAllocation()
/art/runtime/hprof/
Dhprof.cc629 const gc::AllocRecordStackTrace* trace = r->second; in LookupStackTraceSerialNumber()
692 const gc::AllocRecordStackTrace* trace = it.first; in WriteStackTraces()
853 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); in PopulateAllocationTrackingTraces()
901 std::unordered_map<const gc::AllocRecordStackTrace*, HprofStackTraceSerialNumber,
902 gc::HashAllocRecordTypesPtr<gc::AllocRecordStackTrace>,
903 gc::EqAllocRecordTypesPtr<gc::AllocRecordStackTrace>> traces_;
907 std::unordered_map<const mirror::Object*, const gc::AllocRecordStackTrace*> allocation_records_;