Home
last modified time | relevance | path

Searched refs:Protect (Results 1 – 10 of 10) sorted by relevance

/art/test/305-other-fault-handler/
Dfault_handler.cc63 CHECK(target_map_.Protect(PROT_READ | PROT_WRITE)) << "Failed to mprotect R/W"; in Action()
67 CHECK(target_map_.Protect(PROT_READ)) << "Failed to mprotect R-only"; in Action()
/art/runtime/gc/collector/
Dsemi_space.cc223 from_space_->GetMemMap()->Protect(PROT_NONE); in MarkingPhase()
229 from_space_->GetMemMap()->Protect(PROT_READ); in MarkingPhase()
648 from_space_->GetMemMap()->Protect(PROT_NONE); in FinishPhase()
/art/libartbase/base/
Dmem_map.h247 bool Protect(int prot);
Dmem_map.cc473 if (!source->Protect(GetProtect())) { in ReplaceWith()
488 source->Protect(old_prot); in ReplaceWith()
881 bool MemMap::Protect(int prot) { in Protect() function in art::MemMap
/art/libdexfile/dex/
Ddex_file_loader.cc100 return mem_map_.Protect(PROT_READ | PROT_WRITE); in EnableWrite()
109 return mem_map_.Protect(PROT_READ); in DisableWrite()
/art/runtime/gc/space/
Dregion_space.cc147 Protect(); in RegionSpace()
792 void RegionSpace::Protect() { in Protect() function in art::gc::space::RegionSpace
Dregion_space.h125 void Protect();
/art/build/
DAndroid.bp39 "bugprone-unused-raii", // Protect scoped things like MutexLock.
/art/runtime/gc/
Dheap.cc2238 to_space->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PerformHomogeneousSpaceCompact()
2507 non_moving_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2538 main_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2551 region_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2555 bump_pointer_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in PreZygoteFork()
2867 temp_space_->GetMemMap()->Protect(PROT_READ | PROT_WRITE); in CollectGarbageInternal()
/art/openjdkjvmti/
Dti_redefine.cc555 map.Protect(PROT_READ); in MoveDataToMemMap()