Lines Matching defs:space

22 #include "space.h"
32 namespace space {
34 // A space that consists of equal-sized regions.
43 // Create a region space mem map with the requested sizes. The requested base address is not
45 // space to confirm the request was granted.
49 // Allocate `num_bytes`, returns null if the space is full.
79 // Return the storage space required by obj.
107 // new capacity as argument here as region space doesn't have any notion of
113 // Dump region containing object `obj`. Precondition: `obj` is in the region space.
127 kRegionTypeFromSpace, // From-space. To be evacuated.
128 kRegionTypeUnevacFromSpace, // Unevacuated from-space. Not to be evacuated.
129 kRegionTypeToSpace, // To-space.
197 // Object alignment within the space.
234 // If `ref` is in the region space, return the type of its region;
244 // Precondition: `ref` is in the region space.
252 // from-space. Tag the rest as unevacuated from-space.
408 // Set this region as evacuated from-space. At the end of the
410 // the space used by this region, and tag it as unallocated/free.
417 // Set this region as unevacuated from-space. At the end of the
418 // collection, RegionSpace::ClearFromSpace will preserve the space
419 // used by this region, and tag it as to-space (see
427 // Set this region as to-space. Used by RegionSpace::ClearFromSpace.
428 // This is only valid if it is currently an unevac from-space region.
491 size_t idx_; // The region's index in the region space.
520 // Note that since we only change a region from to-space to (evac)
521 // from-space during a pause (in RegionSpace::SetFromSpace) and
522 // from (evac) from-space to free (after GC is done), as long as
539 // Return the object location following `obj` in the region space
577 size_t num_regions_; // The number of regions in this space.
578 // The number of non-free regions in this space.
612 } // namespace space