Home
last modified time | relevance | path

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

/art/runtime/gc/
Dallocation_record.h73 class AllocRecordStackTrace {
77 AllocRecordStackTrace() = default;
79 AllocRecordStackTrace(AllocRecordStackTrace&& r) in AllocRecordStackTrace() function
83 AllocRecordStackTrace(const AllocRecordStackTrace& r) in AllocRecordStackTrace() function
114 bool operator==(const AllocRecordStackTrace& other) const {
127 AllocRecordStackTrace::kHashMultiplier + std::hash<uint32_t>()(r.GetDexPc()); in operator()
130 size_t operator()(const AllocRecordStackTrace& r) const { in operator()
132 size_t result = r.GetTid() * AllocRecordStackTrace::kHashMultiplier + depth; in operator()
134 result = result * AllocRecordStackTrace::kHashMultiplier + (*this)(r.GetStackElement(i)); in operator()
158 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace) in AllocRecord()
[all …]
Dallocation_record.cc188 AllocRecordStackVisitor(Thread* thread, size_t max_depth, AllocRecordStackTrace* trace_out) in AllocRecordStackVisitor()
211 AllocRecordStackTrace* const trace_;
236 sizeof(AllocRecord) + sizeof(AllocRecordStackTrace); in SetAllocTrackingEnabled()
269 AllocRecordStackTrace trace; in RecordAllocation()
/art/runtime/hprof/
Dhprof.cc609 const gc::AllocRecordStackTrace* trace = r->second; in LookupStackTraceSerialNumber()
672 const gc::AllocRecordStackTrace* trace = it.first; in WriteStackTraces()
832 const gc::AllocRecordStackTrace* trace = it->second.GetStackTrace(); in PopulateAllocationTrackingTraces()
880 std::unordered_map<const gc::AllocRecordStackTrace*, HprofStackTraceSerialNumber,
881 gc::HashAllocRecordTypesPtr<gc::AllocRecordStackTrace>,
882 gc::EqAllocRecordTypesPtr<gc::AllocRecordStackTrace>> traces_;
886 std::unordered_map<const mirror::Object*, const gc::AllocRecordStackTrace*> allocation_records_;