Home
last modified time | relevance | path

Searched refs:region_space_ (Results 1 – 6 of 6) sorted by relevance

/art/runtime/gc/collector/
Dconcurrent_copying-inl.h50 DCHECK(region_space_ != nullptr) << "Read barrier slow path taken when CC isn't running?"; in Mark()
51 space::RegionSpace::RegionType rtype = region_space_->GetRegionType(from_ref); in Mark()
66 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
95 DCHECK(region_space_->IsInFromSpace(from_ref)); in GetFwdPtr()
Dconcurrent_copying.cc46 region_space_(nullptr), gc_barrier_(new Barrier(0)), in ConcurrentCopying()
149 } else if (space == region_space_) { in BindBitmaps()
164 LOG(INFO) << "Region-space : " << reinterpret_cast<void*>(region_space_->Begin()) << "-" in InitializePhase()
165 << reinterpret_cast<void*>(region_space_->Limit()); in InitializePhase()
207 concurrent_copying_->region_space_->RevokeThreadLocalBuffers(thread); in Run()
211 concurrent_copying_->region_space_->RevokeThreadLocalBuffers(thread); in Run()
241 cc->region_space_->SetFromSpace(cc->rb_table_, cc->force_evacuate_all_); in Run()
245 cc->from_space_num_objects_at_first_pause_ = cc->region_space_->GetObjectsAllocated(); in Run()
246 cc->from_space_num_bytes_at_first_pause_ = cc->region_space_->GetBytesAllocated(); in Run()
265 LOG(INFO) << "time=" << region_space_->Time(); in FlipThreadRoots()
[all …]
Dconcurrent_copying.h83 region_space_ = region_space; in SetRegionSpace()
86 return region_space_; in RegionSpace()
189 space::RegionSpace* region_space_; // The underlying region space. variable
/art/runtime/gc/
Dheap-inl.h337 DCHECK(region_space_ != nullptr); in TryToAllocate()
339 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
344 DCHECK(region_space_ != nullptr); in TryToAllocate()
351 if (!region_space_->AllocNewTlab(self)) { in TryToAllocate()
353 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
362 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
373 ret = region_space_->AllocNonvirtual<false>(alloc_size, bytes_allocated, usable_size, in TryToAllocate()
Dheap.cc219 region_space_(nullptr), in Heap()
445 region_space_ = space::RegionSpace::Create("Region space", capacity_ * 2, request_begin); in Heap()
446 AddSpace(region_space_); in Heap()
996 DCHECK(region_space_ == nullptr); in VisitObjects()
1013 if (region_space_ != nullptr) { in VisitObjectsInternalRegionSpace()
1022 region_space_->Walk(callback, arg); in VisitObjectsInternalRegionSpace()
1352 space = region_space_; in ThrowOutOfMemoryError()
1467 if (region_space_ != nullptr) { in TrimSpaces()
1468 total_alloc_space_allocated -= region_space_->GetBytesAllocated(); in TrimSpaces()
1523 if (region_space_ != nullptr && region_space_->HasAddress(obj)) { in IsLiveObjectLocked()
[all …]
Dheap.h1247 space::RegionSpace* region_space_; variable