Searched refs:alloc_record_max_ (Results 1 – 2 of 2) sorted by relevance
388 size_t Dbg::alloc_record_max_ = 0; member in art::Dbg4849 alloc_record_max_ = GetAllocTrackerMax(); in SetAllocTrackingEnabled()4850 LOG(INFO) << "Enabling alloc tracker (" << alloc_record_max_ << " entries of " in SetAllocTrackingEnabled()4852 << PrettySize(sizeof(AllocRecord) * alloc_record_max_) << ")"; in SetAllocTrackingEnabled()4855 recent_allocation_records_ = new AllocRecord[alloc_record_max_]; in SetAllocTrackingEnabled()4920 if (++alloc_record_head_ == alloc_record_max_) { in RecordAllocation()4934 if (alloc_record_count_ < alloc_record_max_) { in RecordAllocation()4948 return (Dbg::alloc_record_head_ + 1 + Dbg::alloc_record_max_ - Dbg::alloc_record_count_) & in HeadIndex()4949 (Dbg::alloc_record_max_ - 1); in HeadIndex()4987 i = (i + 1) & (alloc_record_max_ - 1); in DumpRecentAllocations()[all …]
787 static size_t alloc_record_max_ GUARDED_BY(Locks::alloc_tracker_lock_);