equal
deleted
inserted
replaced
154 // Space inquiries (results in bytes) |
154 // Space inquiries (results in bytes) |
155 size_t initial_size(); |
155 size_t initial_size(); |
156 virtual size_t capacity() const = 0; // The maximum number of object bytes the |
156 virtual size_t capacity() const = 0; // The maximum number of object bytes the |
157 // generation can currently hold. |
157 // generation can currently hold. |
158 virtual size_t used() const = 0; // The number of used bytes in the gen. |
158 virtual size_t used() const = 0; // The number of used bytes in the gen. |
159 virtual size_t used_stable() const; // The number of used bytes for memory monitoring tools. |
|
160 virtual size_t free() const = 0; // The number of free bytes in the gen. |
159 virtual size_t free() const = 0; // The number of free bytes in the gen. |
161 |
160 |
162 // Support for java.lang.Runtime.maxMemory(); see CollectedHeap. |
161 // Support for java.lang.Runtime.maxMemory(); see CollectedHeap. |
163 // Returns the total number of bytes available in a generation |
162 // Returns the total number of bytes available in a generation |
164 // for the allocation of objects. |
163 // for the allocation of objects. |