Home | History | Annotate | Download | only in src

Lines Matching refs:Capacity

408   // Max capacity of the total space.
755 // The 'capacity' of a space is the number of object-area bytes (ie, not
762 // capacity is the sum of size, waste, and available.
765 // functions increase or decrease one of the non-capacity stats in
766 // conjunction with capacity, or else they always balance increases and
767 // decreases to the non-capacity stats.
772 // Zero out all the allocation statistics (ie, no capacity).
780 // Reset the allocation statistics (ie, available = capacity with no
789 int Capacity() { return capacity_; }
841 // Creates a space with a maximum capacity, and an id.
881 // Current capacity without growing (Size() + Available() + Waste()).
882 int Capacity() { return accounting_stats_.Capacity(); }
885 // spaces this equals the capacity.
886 int CommittedMemory() { return Capacity(); }
939 // Ensures that the capacity is at least 'capacity'. Returns false on failure.
940 bool EnsureCapacity(int capacity);
966 // Maximum capacity of this space.
1116 // its maximum capacity (and thus there is space available in the reserved
1120 // Grow the semispace to the new capacity. The new capacity
1121 // requested must be larger than the current capacity.
1124 // Shrinks the semispace to the new capacity. The new capacity
1126 // semispace and less than the current capacity.
1177 // Returns the current capacity of the semi space.
1178 int Capacity() { return capacity_; }
1180 // Returns the maximum capacity of the semi space.
1183 // Returns the initial capacity of the semi space.
1187 // The current and maximum capacity of the space.
1277 // Grow the capacity of the semispaces. Assumes that they are not at
1278 // their maximum capacity.
1281 // Shrink the capacity of the semispaces.
1297 // Return the current capacity of a semispace.
1298 int Capacity() {
1299 ASSERT(to_space_.Capacity() == from_space_.Capacity());
1300 return to_space_.Capacity();
1305 if (from_space_.is_committed()) return 2 * Capacity();
1306 return Capacity();
1310 int Available() { return Capacity() - Size(); }
1312 // Return the maximum capacity of a semispace.
1318 // Returns the initial capacity of a semispace.
1642 // Creates an old space object with a given maximum capacity.
1778 // Creates a map space object with a maximum capacity.
1883 // Creates a property cell space object with a maximum capacity.