Home | History | Annotate | Download | only in space

Lines Matching defs:Space

41 namespace space {
58 // See Space::GetGcRetentionPolicy.
60 // Objects are retained forever with this policy for a space.
62 // Every GC cycle will attempt to collect objects in this space.
80 // A space contains memory allocated for managed objects.
81 class Space {
83 // Dump space. Also key method for C++ vtables.
86 // Name of the space. May vary, for example before/after the Zygote fork.
91 // The policy of when objects are collected associated with this space.
96 // Is the given object contained within this space?
99 // The kind of space this: image, alloc, zygote, large object.
102 // Is this an image space, ie one backed by a memory mapped image file.
108 // Is this a dlmalloc backed allocation space?
125 // Is this the space allocated into by the Zygote and no-longer in use for allocation?
131 // Is this space a bump pointer space?
142 // Does this space hold large objects and implement the large object space abstraction?
168 // Returns true if objects in the space are movable.
171 virtual ~Space() {}
174 Space(const std::string& name, GcRetentionPolicy gc_retention_policy);
180 // Name of the space that may vary due to the Zygote fork.
184 // When should objects within this space be reclaimed? Not constant as we vary it in the case
190 DISALLOW_IMPLICIT_CONSTRUCTORS(Space);
192 std::ostream& operator<<(std::ostream& os, const Space& space);
226 // Return the storage space required by obj.
236 // thread, if the alloc space implementation uses any.
242 // threads, if the alloc space implementation uses any.
251 SweepCallbackContext(bool swap_bitmaps, space::Space* space);
253 space::Space* const space;
267 class ContinuousSpace : public Space {
269 // Address at which the space begins.
274 // Current address at which the space ends, which may vary as the space is filled.
279 // The end of the address range covered by the space.
284 // Change the end of the space. Be careful with use since changing the end of a space to an
294 // Current size of space
302 // Maximum which the mapped space can grow to.
307 // Is object within this space? We check to see if the pointer is beyond the end first as
327 Space(name, gc_retention_policy), begin_(begin), end_(end), limit_(limit) {
333 // Current end of the space.
336 // Limit of the space.
343 // A space where objects may be allocated higgledy-piggledy throughout virtual memory. Currently
346 class DiscontinuousSpace : public Space {
374 // Size of the space without a limit on its growth. By default this is just the Capacity, but
375 // for the allocation space we support starting with a small heap and then extending it.
399 // Underlying storage of the space
406 // Used by the heap compaction interface to enable copying from one type of alloc space to another.
426 // Swap the live and mark bitmaps of this space. This is used by the GC for concurrent sweeping.
429 // Clear the space back to an empty space.
458 } // namespace space