Home | History | Annotate | Download | only in src

Lines Matching defs:Capacity

948   // Max capacity of the total space and executable memory limit.
1203 // The 'capacity' of a space is the number of object-area bytes (i.e., not
1210 // capacity is the sum of size, waste, and available.
1213 // functions increase or decrease one of the non-capacity stats in
1214 // conjunction with capacity, or else they always balance increases and
1215 // decreases to the non-capacity stats.
1220 // Zero out all the allocation statistics (i.e., no capacity).
1232 // Reset the allocation statistics (i.e., available = capacity with no
1240 intptr_t Capacity() { return capacity_; }
1429 // Creates a space with a maximum capacity, and an id.
1464 // Current capacity without growing (Size() + Available()).
1465 intptr_t Capacity() { return accounting_stats_.Capacity(); }
1468 // spaces this equals the capacity.
1469 intptr_t CommittedMemory() { return Capacity(); }
1471 // Sets the capacity, the available space and the wasted space to zero.
1473 // capacity and the size when it is encountered. As free spaces are
1627 // Maximum capacity of this space.
1829 // Grow the semispace to the new capacity. The new capacity
1830 // requested must be larger than the current capacity and less than
1831 // the maximum capacity.
1834 // Shrinks the semispace to the new capacity. The new capacity
1836 // semispace and less than the current capacity.
1918 // Returns the current capacity of the semi space.
1919 int Capacity() { return capacity_; }
1921 // Returns the maximum capacity of the semi space.
1924 // Returns the initial capacity of the semi space.
1938 // The current and maximum capacity of the space.
2080 // Grow the capacity of the semispaces. Assumes that they are not at
2081 // their maximum capacity.
2084 // Shrink the capacity of the semispaces.
2110 // Return the current capacity of a semispace.
2112 SLOW_ASSERT(to_space_.Capacity() == from_space_.Capacity());
2113 return (to_space_.Capacity() / Page::kPageSize) * NewSpacePage::kAreaSize;
2116 // Return the current capacity of a semispace.
2117 intptr_t Capacity() {
2118 ASSERT(to_space_.Capacity() == from_space_.Capacity());
2119 return to_space_.Capacity();
2124 if (from_space_.is_committed()) return 2 * Capacity();
2125 return Capacity();
2130 return Capacity() - Size();
2133 // Return the maximum capacity of a semispace.
2139 // Returns the initial capacity of a semispace.
2318 // Creates an old space object with a given maximum capacity.
2391 // Creates a map space object with a maximum capacity.
2434 // Creates a property cell space object with a maximum capacity.