Lines Matching refs:CHECK
64 CHECK(kUseBakerReadBarrier || kUseTableLookupReadBarrier); in RunPhases()
65 CHECK(!is_active_); in RunPhases()
97 CHECK(is_active_); in RunPhases()
108 CHECK(space->IsZygoteSpace() || space->IsImageSpace()); in BindBitmaps()
109 CHECK(immune_region_.AddContinuousSpace(space)) << "Failed to add space " << *space; in BindBitmaps()
135 CHECK(mark_queue_.IsEmpty()); in InitializePhase()
164 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
202 CHECK(thread == self); in Run()
213 CHECK(Runtime::Current()->IsAotCompiler()); in Run()
285 CHECK(!kUseBakerReadBarrier || obj->GetReadBarrierPointer() == ReadBarrier::GrayPtr()); in operator ()()
303 CHECK(thread == self || thread->IsSuspended() || thread->GetState() == kWaitingPerformingGc) in Run()
463 CHECK(mark_queue_.Enqueue(to_ref)) << "Mark queue overflow"; in PushOntoMarkStack()
465 CHECK(mark_queue_.EnqueueThreadUnsafe(to_ref)) << "Mark queue overflow"; in PushOntoMarkStack()
482 CHECK(fwd_ptr != nullptr); in GetFwdPtr()
505 CHECK(ref->GetReadBarrierPointer() == nullptr) in operator ()()
509 CHECK(ref->GetReadBarrierPointer() == ReadBarrier::BlackPtr() || in operator ()()
545 CHECK(klass->IsTypeOfReferenceClass()); in operator ()()
563 CHECK(obj != nullptr); in ObjectCallback()
566 CHECK(!region_space->IsInFromSpace(obj)) << "Scanning object " << obj << " in from space"; in ObjectCallback()
571 CHECK(obj->GetReadBarrierPointer() == nullptr) in ObjectCallback()
574 CHECK(obj->GetReadBarrierPointer() == ReadBarrier::BlackPtr() || in ObjectCallback()
664 CHECK(klass->IsTypeOfReferenceClass()); in operator ()()
681 CHECK(obj != nullptr); in ObjectCallback()
684 CHECK(!region_space->IsInFromSpace(obj)) << "Scanning object " << obj << " in from space"; in ObjectCallback()
720 CHECK(to_ref->AsReference()->IsEnqueued()) << "Left unenqueued ref gray " << to_ref; in ProcessMarkStack()
728 CHECK(success) << "Must succeed as we won the race."; in ProcessMarkStack()
729 CHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::WhitePtr()); in ProcessMarkStack()
740 CHECK(success) << "Must succeed as we won the race."; in ProcessMarkStack()
741 CHECK(to_ref->GetReadBarrierPointer() == ReadBarrier::BlackPtr()); in ProcessMarkStack()
790 CHECK(mark_queue_.IsEmpty()); in Sweep()
833 CHECK(kUseBakerReadBarrier); in ClearBlackPtrs()
995 CHECK(heap_->collector_type_ == kCollectorTypeCC) << static_cast<size_t>(heap_->collector_type_); in AssertToSpaceInvariant()
1001 CHECK(region_space_bitmap_->Test(ref)) << ref; in AssertToSpaceInvariant()
1028 CHECK(cc_bitmap != nullptr) in AssertToSpaceInvariant()
1041 CHECK(los_bitmap != nullptr) << "LOS bitmap covers the entire address range"; in AssertToSpaceInvariant()
1060 CHECK(false) << "Found from-space ref " << ref << " " << PrettyTypeOf(ref); in AssertToSpaceInvariant()
1066 CHECK(cc_bitmap != nullptr) in AssertToSpaceInvariant()
1069 CHECK(cc_bitmap->Test(ref)) in AssertToSpaceInvariant()
1073 CHECK(cc_bitmap->Test(ref)) in AssertToSpaceInvariant()
1081 CHECK(los_bitmap != nullptr) << "LOS bitmap covers the entire address range"; in AssertToSpaceInvariant()
1090 CHECK(IsOnAllocStack(ref)) << "Unmarked ref that's not on the allocation stack. " in AssertToSpaceInvariant()
1112 CHECK(klass->IsTypeOfReferenceClass()); in operator ()()
1203 CHECK(IsAligned<kObjectAlignment>(byte_size)); in FillWithDummyObject()
1206 CHECK(int_array_class != nullptr); in FillWithDummyObject()
1221 CHECK(dummy_obj->IsArrayInstance()); in FillWithDummyObject()
1236 CHECK(IsAligned<space::RegionSpace::kAlignment>(alloc_size)); in AllocateInSkippedBlock()
1255 CHECK(IsAligned<space::RegionSpace::kAlignment>(it->first - alloc_size)); in AllocateInSkippedBlock()
1261 CHECK(it != skipped_blocks_map_.end()); in AllocateInSkippedBlock()
1265 CHECK(region_space_->IsInToSpace(reinterpret_cast<mirror::Object*>(addr))); in AllocateInSkippedBlock()
1266 CHECK(IsAligned<space::RegionSpace::kAlignment>(byte_size)); in AllocateInSkippedBlock()
1274 CHECK(IsAligned<space::RegionSpace::kAlignment>(byte_size - alloc_size)); in AllocateInSkippedBlock()
1278 CHECK(region_space_->IsInToSpace(reinterpret_cast<mirror::Object*>(addr + alloc_size))); in AllocateInSkippedBlock()
1323 CHECK(to_ref != nullptr) << "Fall-back non-moving space allocation failed"; in Copy()
1328 CHECK(mark_bitmap != nullptr); in Copy()
1329 CHECK(!mark_bitmap->AtomicTestAndSet(to_ref)); in Copy()
1368 CHECK(mark_bitmap != nullptr); in Copy()
1369 CHECK(mark_bitmap->Clear(to_ref)); in Copy()
1376 CHECK(to_ref != nullptr); in Copy()
1378 CHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)); in Copy()
1459 CHECK(los_bitmap != nullptr) << "LOS bitmap covers the entire address range"; in IsMarked()
1575 CHECK(los_bitmap != nullptr) << "LOS bitmap covers the entire address range"; in Mark()
1634 CHECK(mark_queue_.IsEmpty()); in FinishPhase()