Lines Matching refs:main_space_
131 main_space_(nullptr),
331 CHECK(main_space_ != nullptr);
332 AddSpace(main_space_);
334 non_moving_space_ = main_space_;
389 if (collector::SemiSpace::kUseRememberedSet && non_moving_space_ != main_space_) {
507 if (collector::SemiSpace::kUseRememberedSet && main_space_ != nullptr) {
508 RemoveRememberedSet(main_space_);
511 main_space_ = CreateMallocSpaceFromMemMap(mem_map, initial_size, growth_limit, capacity, name,
513 SetSpaceAsDefault(main_space_);
514 VLOG(heap) << "Created main space " << main_space_;
542 if (!IsMovingGc(collector_type_) && non_moving_space_ != main_space_) {
543 CHECK(main_space_ != nullptr);
551 main_space_->DisableMovingObjects();
552 non_moving_space_ = main_space_;
728 space::ContinuousSpace* space1 = main_space_ != nullptr ? main_space_ : non_moving_space_;
946 space = main_space_;
1609 !main_space_->CanMoveObjects()) {
1625 space::MallocSpace* from_space = main_space_;
1635 main_space_ = to_space;
1638 SetSpaceAsDefault(main_space_); // Set as default to reset the proper dlmalloc space.
1717 Compact(bump_pointer_space_, main_space_, kGcCauseCollectorTransition);
1719 mem_map.reset(main_space_->ReleaseMemMap());
1721 if (dlmalloc_space_ == main_space_) {
1723 } else if (rosalloc_space_ == main_space_) {
1728 RemoveSpace(main_space_);
1729 RemoveRememberedSet(main_space_);
1730 delete main_space_; // Delete the space since it has been removed.
1731 main_space_ = nullptr;
1753 AddSpace(main_space_);
1754 Compact(main_space_, bump_pointer_space_, kGcCauseCollectorTransition);
1973 const bool same_space = non_moving_space_ == main_space_;
1990 CHECK(main_space_ != nullptr);
1992 zygote_collector.SetFromSpace(main_space_);
1999 main_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE);
2000 madvise(main_space_->Begin(), main_space_->Capacity(), MADV_DONTNEED);
2001 MemMap* mem_map = main_space_->ReleaseMemMap();
2002 RemoveSpace(main_space_);
2003 space::Space* old_main_space = main_space_;
2007 AddSpace(main_space_);
2046 main_space_ = non_moving_space_;
2047 SetSpaceAsDefault(main_space_);