Lines Matching defs:MarkSweep
83 void MarkSweep::BindBitmaps() {
94 MarkSweep::MarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix)
111 void MarkSweep::InitializePhase() {
140 void MarkSweep::RunPhases() {
171 void MarkSweep::ProcessReferences(Thread* self) {
178 void MarkSweep::PausePhase() {
210 void MarkSweep::PreCleanCards() {
241 void MarkSweep::RevokeAllThreadLocalAllocationStacks(Thread* self) {
249 void MarkSweep::MarkingPhase() {
263 void MarkSweep::UpdateAndMarkModUnion() {
276 void MarkSweep::MarkReachableObjects() {
282 void MarkSweep::ReclaimPhase() {
302 void MarkSweep::FindDefaultSpaceBitmap() {
320 void MarkSweep::ExpandMarkStack() {
324 void MarkSweep::ResizeMarkStack(size_t new_size) {
338 inline void MarkSweep::MarkObjectNonNullParallel(Object* obj) {
350 mirror::Object* MarkSweep::MarkObjectCallback(mirror::Object* obj, void* arg) {
351 MarkSweep* mark_sweep = reinterpret_cast<MarkSweep*>(arg);
356 void MarkSweep::MarkHeapReferenceCallback(mirror::HeapReference<mirror::Object>* ref, void* arg) {
357 reinterpret_cast<MarkSweep*>(arg)->MarkObject(ref->AsMirrorPtr());
360 bool MarkSweep::HeapReferenceMarkedCallback(mirror::HeapReference<mirror::Object>* ref, void* arg) {
361 return reinterpret_cast<MarkSweep*>(arg)->IsMarked(ref->AsMirrorPtr());
366 explicit MarkSweepMarkObjectSlowPath(MarkSweep* mark_sweep) : mark_sweep_(mark_sweep) {
386 MarkSweep* const mark_sweep_;
389 inline void MarkSweep::MarkObjectNonNull(Object* obj) {
420 inline void MarkSweep::PushOnMarkStack(Object* obj) {
430 inline bool MarkSweep::MarkObjectParallel(const Object* obj) {
451 inline void MarkSweep::MarkObject(Object* obj) {
459 void MarkSweep::MarkRootParallelCallback(Object** root, void* arg, const RootInfo& /*root_info*/) {
460 reinterpret_cast<MarkSweep*>(arg)->MarkObjectNonNullParallel(*root);
463 void MarkSweep::VerifyRootMarked(Object** root, void* arg, const RootInfo& /*root_info*/) {
464 CHECK(reinterpret_cast<MarkSweep*>(arg)->IsMarked(*root));
467 void MarkSweep::MarkRootCallback(Object** root, void* arg, const RootInfo& /*root_info*/) {
468 reinterpret_cast<MarkSweep*>(arg)->MarkObjectNonNull(*root);
471 void MarkSweep::VerifyRootCallback(Object** root, void* arg, const RootInfo& root_info) {
472 reinterpret_cast<MarkSweep*>(arg)->VerifyRoot(*root, root_info);
475 void MarkSweep::VerifyRoot(const Object* root, const RootInfo& root_info) {
486 void MarkSweep::VerifyRoots() {
490 void MarkSweep::MarkRoots(Thread* self) {
505 void MarkSweep::MarkNonThreadRoots() {
510 void MarkSweep::MarkConcurrentRoots(VisitRootFlags flags) {
518 explicit ScanObjectVisitor(MarkSweep* const mark_sweep) ALWAYS_INLINE
531 MarkSweep* const mark_sweep_;
536 explicit DelayReferenceReferentVisitor(MarkSweep* collector) : collector_(collector) {
546 MarkSweep* const collector_;
552 MarkStackTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, size_t mark_stack_size,
574 MarkSweep* mark_sweep) ALWAYS_INLINE
594 MarkSweep* const mark_sweep_;
605 MarkSweep* const mark_sweep = chunk_task_->mark_sweep_;
623 MarkSweep* const mark_sweep_;
682 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep,
714 size_t MarkSweep::GetThreadCount(bool paused) const {
725 void MarkSweep::ScanGrayObjects(bool paused, byte minimum_age) {
817 RecursiveMarkTask(ThreadPool* thread_pool, MarkSweep* mark_sweep,
843 void MarkSweep::RecursiveMark() {
898 mirror::Object* MarkSweep::IsMarkedCallback(mirror::Object* object, void* arg) {
899 if (reinterpret_cast<MarkSweep*>(arg)->IsMarked(object)) {
905 void MarkSweep::RecursiveMarkDirtyObjects(bool paused, byte minimum_age) {
910 void MarkSweep::ReMarkRoots() {
923 void MarkSweep::SweepSystemWeaks(Thread* self) {
929 mirror::Object* MarkSweep::VerifySystemWeakIsLiveCallback(Object* obj, void* arg) {
930 reinterpret_cast<MarkSweep*>(arg)->VerifyIsLive(obj);
935 void MarkSweep::VerifyIsLive(const Object* obj) {
943 void MarkSweep::VerifySystemWeaks() {
951 explicit CheckpointMarkThreadRoots(MarkSweep* mark_sweep,
964 thread->VisitRoots(MarkSweep::MarkRootParallelCallback, mark_sweep_);
975 MarkSweep* const mark_sweep_;
979 void MarkSweep::MarkRootsCheckpoint(Thread* self,
999 void MarkSweep::SweepArray(accounting::ObjectStack* allocations, bool swap_bitmaps) {
1096 void MarkSweep::Sweep(bool swap_bitmaps) {
1120 void MarkSweep::SweepLargeObjects(bool swap_bitmaps) {
1127 void MarkSweep::DelayReferenceReferent(mirror::Class* klass, mirror::Reference* ref) {
1137 explicit MarkObjectVisitor(MarkSweep* const mark_sweep) ALWAYS_INLINE : mark_sweep_(mark_sweep) {
1151 MarkSweep* const mark_sweep_;
1156 void MarkSweep::ScanObject(Object* obj) {
1162 void MarkSweep::ProcessMarkStackCallback(void* arg) {
1163 reinterpret_cast<MarkSweep*>(arg)->ProcessMarkStack(false);
1166 void MarkSweep::ProcessMarkStackParallel(size_t thread_count) {
1189 void MarkSweep::ProcessMarkStack(bool paused) {
1225 inline bool MarkSweep::IsMarked(const Object* object) const {
1235 void MarkSweep::FinishPhase() {
1238 VLOG(gc) << "MarkSweep scanned classes=" << class_count_.LoadRelaxed()
1266 void MarkSweep::RevokeAllThreadLocalBuffers() {