src/share/vm/memory/generation.hpp

changeset 9793
7386b3a385ac
parent 7598
ddce0b7cee93
child 9806
758c07667682
equal deleted inserted replaced
9792:9a7135d0a309 9793:7386b3a385ac
166 166
167 // Space enquiries (results in bytes) 167 // Space enquiries (results in bytes)
168 virtual size_t capacity() const = 0; // The maximum number of object bytes the 168 virtual size_t capacity() const = 0; // The maximum number of object bytes the
169 // generation can currently hold. 169 // generation can currently hold.
170 virtual size_t used() const = 0; // The number of used bytes in the gen. 170 virtual size_t used() const = 0; // The number of used bytes in the gen.
171 virtual size_t used_stable() const; // The number of used bytes for memory monitoring tools.
171 virtual size_t free() const = 0; // The number of free bytes in the gen. 172 virtual size_t free() const = 0; // The number of free bytes in the gen.
172 173
173 // Support for java.lang.Runtime.maxMemory(); see CollectedHeap. 174 // Support for java.lang.Runtime.maxMemory(); see CollectedHeap.
174 // Returns the total number of bytes available in a generation 175 // Returns the total number of bytes available in a generation
175 // for the allocation of objects. 176 // for the allocation of objects.

mercurial