src/hotspot/share/gc/shared/generation.hpp
changeset 57782 ca133d5ea78a
parent 57777 90ead0febf56
child 58679 9c3209ff7550
child 59053 ba6c248cae19
--- a/src/hotspot/share/gc/shared/generation.hpp	Fri Aug 16 16:50:17 2019 +0200
+++ b/src/hotspot/share/gc/shared/generation.hpp	Fri Aug 16 18:06:51 2019 +0000
@@ -156,6 +156,7 @@
   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.