hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
changeset 3263 23d2d46c6d08
parent 3262 30d1c247fc25
child 3696 9e5d9b5e1049
equal deleted inserted replaced
3262:30d1c247fc25 3263:23d2d46c6d08
   698   // Reserved (g1 only; super method includes perm), capacity and the used
   698   // Reserved (g1 only; super method includes perm), capacity and the used
   699   // portion in bytes.
   699   // portion in bytes.
   700   size_t g1_reserved_obj_bytes() { return _g1_reserved.byte_size(); }
   700   size_t g1_reserved_obj_bytes() { return _g1_reserved.byte_size(); }
   701   virtual size_t capacity() const;
   701   virtual size_t capacity() const;
   702   virtual size_t used() const;
   702   virtual size_t used() const;
       
   703   // This should be called when we're not holding the heap lock. The
       
   704   // result might be a bit inaccurate.
       
   705   size_t used_unlocked() const;
   703   size_t recalculate_used() const;
   706   size_t recalculate_used() const;
   704 #ifndef PRODUCT
   707 #ifndef PRODUCT
   705   size_t recalculate_used_regions() const;
   708   size_t recalculate_used_regions() const;
   706 #endif // PRODUCT
   709 #endif // PRODUCT
   707 
   710