Home
last modified time | relevance | path

Searched refs:live_bytes_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/space/
Dregion_space.h397 live_bytes_(static_cast<size_t>(-1)), in Region()
418 live_bytes_ = static_cast<size_t>(-1); in Init()
485 live_bytes_ = 0; in ZeroLiveBytes()
543 live_bytes_ = static_cast<size_t>(-1); in SetAsFromSpace()
565 DCHECK_NE(live_bytes_, static_cast<size_t>(-1)); in AddLiveBytes()
567 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes()
568 DCHECK_LE(live_bytes_, BytesAllocated()); in AddLiveBytes()
576 return live_bytes_; in LiveBytes()
626 size_t live_bytes_; // The live bytes. Used to compute the live percent. variable
Dregion_space.cc210 live_bytes_ = 0; in SetAsUnevacFromSpace()
241 DCHECK_EQ(live_bytes_, static_cast<size_t>(-1)); in ShouldBeEvacuated()
258 bool is_live_percent_valid = (live_bytes_ != static_cast<size_t>(-1)); in ShouldBeEvacuated()
261 DCHECK_NE(live_bytes_, static_cast<size_t>(-1)); in ShouldBeEvacuated()
262 DCHECK_LE(live_bytes_, BytesAllocated()); in ShouldBeEvacuated()
264 DCHECK_LE(live_bytes_, bytes_allocated); in ShouldBeEvacuated()
268 return live_bytes_ * 100U < kEvacuateLivePercentThreshold * bytes_allocated; in ShouldBeEvacuated()
968 << " live_bytes=" << live_bytes_; in Dump()
970 if (live_bytes_ != static_cast<size_t>(-1)) { in Dump()
972 << (static_cast<float>(live_bytes_) / RoundUp(BytesAllocated(), kRegionSize)); in Dump()
[all …]