diff options
Diffstat (limited to 'src/share/vm/memory/generation.hpp')
-rw-r--r-- | src/share/vm/memory/generation.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/vm/memory/generation.hpp b/src/share/vm/memory/generation.hpp index 63dccb70f..ca3fe949d 100644 --- a/src/share/vm/memory/generation.hpp +++ b/src/share/vm/memory/generation.hpp @@ -168,6 +168,7 @@ class Generation: public CHeapObj<mtGC> { virtual size_t capacity() const = 0; // The maximum number of object bytes the // generation can currently hold. virtual size_t used() const = 0; // The number of used bytes in the gen. + virtual size_t used_stable() const; // The number of used bytes for memory monitoring tools. virtual size_t free() const = 0; // The number of free bytes in the gen. // Support for java.lang.Runtime.maxMemory(); see CollectedHeap. |