< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMark.hpp

Print this page
rev 48820 : [mq]: 8196602-heapregionclosure-renaming


 831   // Accumulators for these values.
 832   size_t _total_used_bytes;
 833   size_t _total_capacity_bytes;
 834   size_t _total_prev_live_bytes;
 835   size_t _total_next_live_bytes;
 836 
 837   // Accumulator for the remembered set size
 838   size_t _total_remset_bytes;
 839 
 840   // Accumulator for strong code roots memory size
 841   size_t _total_strong_code_roots_bytes;
 842 
 843   static double bytes_to_mb(size_t val) {
 844     return (double) val / (double) M;
 845   }
 846 
 847 public:
 848   // The header and footer are printed in the constructor and
 849   // destructor respectively.
 850   G1PrintRegionLivenessInfoClosure(const char* phase_name);
 851   virtual bool doHeapRegion(HeapRegion* r);
 852   ~G1PrintRegionLivenessInfoClosure();
 853 };
 854 
 855 #endif // SHARE_VM_GC_G1_G1CONCURRENTMARK_HPP


 831   // Accumulators for these values.
 832   size_t _total_used_bytes;
 833   size_t _total_capacity_bytes;
 834   size_t _total_prev_live_bytes;
 835   size_t _total_next_live_bytes;
 836 
 837   // Accumulator for the remembered set size
 838   size_t _total_remset_bytes;
 839 
 840   // Accumulator for strong code roots memory size
 841   size_t _total_strong_code_roots_bytes;
 842 
 843   static double bytes_to_mb(size_t val) {
 844     return (double) val / (double) M;
 845   }
 846 
 847 public:
 848   // The header and footer are printed in the constructor and
 849   // destructor respectively.
 850   G1PrintRegionLivenessInfoClosure(const char* phase_name);
 851   virtual bool do_heap_region(HeapRegion* r);
 852   ~G1PrintRegionLivenessInfoClosure();
 853 };
 854 
 855 #endif // SHARE_VM_GC_G1_G1CONCURRENTMARK_HPP
< prev index next >