Home | History | Annotate | Download | only in accounting

Lines Matching refs:space

22 #include "gc/space/space.h"
28 // A mod-union table to record image references to the Zygote and alloc space.
34 const std::vector<space::ContinuousSpace*>& spaces = GetHeap()->GetContinuousSpaces();
35 typedef std::vector<space::ContinuousSpace*>::const_iterator It;
47 // A mod-union table to record Zygote references to the alloc space.
53 const std::vector<space::ContinuousSpace*>& spaces = GetHeap()->GetContinuousSpaces();
54 typedef std::vector<space::ContinuousSpace*>::const_iterator It;
56 space::ContinuousSpace* space = *it;
57 if (space->Contains(ref)) {
58 // The allocation space is always considered for collection whereas the Zygote space is
60 return space->GetGcRetentionPolicy() == space::kGcRetentionPolicyAlwaysCollect;