Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dregion_space.h394 live_bytes_(static_cast<size_t>(-1)), in Region()
415 live_bytes_ = static_cast<size_t>(-1); in Init()
482 live_bytes_ = 0; in ZeroLiveBytes()
540 live_bytes_ = static_cast<size_t>(-1); in SetAsFromSpace()
562 DCHECK_NE(live_bytes_, static_cast<size_t>(-1)); in AddLiveBytes()
564 live_bytes_ += IsLarge() ? Top() - begin_ : live_bytes; in AddLiveBytes()
565 DCHECK_LE(live_bytes_, BytesAllocated()); in AddLiveBytes()
573 return live_bytes_; in LiveBytes()
623 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()
954 << " live_bytes=" << live_bytes_; in Dump()
956 if (live_bytes_ != static_cast<size_t>(-1)) { in Dump()
958 << (static_cast<float>(live_bytes_) / RoundUp(BytesAllocated(), kRegionSize)); in Dump()
[all …]