< prev index next >

src/hotspot/share/gc/cms/gSpaceCounters.hpp

Print this page

        

@@ -57,11 +57,11 @@
   inline void update_capacity() {
     _capacity->set_value(_gen->capacity());
   }
 
   inline void update_used() {
-    _used->set_value(_gen->used_stable());
+    _used->set_value(_gen->used());
   }
 
   // special version of update_used() to allow the used value to be
   // passed as a parameter. This method can can be used in cases were
   // the  utilization is already known and/or when the _gen->used()

@@ -101,10 +101,10 @@
 
   public:
     GenerationUsedHelper(Generation* g) : _gen(g) { }
 
     inline jlong take_sample() {
-      return _gen->used_stable();
+      return _gen->used();
     }
 };
 
 #endif // SHARE_GC_CMS_GSPACECOUNTERS_HPP
< prev index next >