< prev index next >

src/hotspot/share/gc/shared/gcStats.hpp

Print this page




  41     CMSGCStatsKind
  42   };
  43 
  44   virtual Name kind() {
  45     return GCStatsKind;
  46   }
  47 
  48   AdaptivePaddedNoZeroDevAverage*  avg_promoted() const { return _avg_promoted; }
  49 
  50   // Average in bytes
  51   size_t average_promoted_in_bytes() const {
  52     return (size_t)_avg_promoted->average();
  53   }
  54 
  55   // Padded average in bytes
  56   size_t padded_average_promoted_in_bytes() const {
  57     return (size_t)_avg_promoted->padded_average();
  58   }
  59 };
  60 
  61 class CMSGCStats : public GCStats {
  62  public:
  63   CMSGCStats();
  64 
  65   virtual Name kind() {
  66     return CMSGCStatsKind;
  67   }
  68 };
  69 
  70 #endif // SHARE_VM_GC_SHARED_GCSTATS_HPP


  41     CMSGCStatsKind
  42   };
  43 
  44   virtual Name kind() {
  45     return GCStatsKind;
  46   }
  47 
  48   AdaptivePaddedNoZeroDevAverage*  avg_promoted() const { return _avg_promoted; }
  49 
  50   // Average in bytes
  51   size_t average_promoted_in_bytes() const {
  52     return (size_t)_avg_promoted->average();
  53   }
  54 
  55   // Padded average in bytes
  56   size_t padded_average_promoted_in_bytes() const {
  57     return (size_t)_avg_promoted->padded_average();
  58   }
  59 };
  60 









  61 #endif // SHARE_VM_GC_SHARED_GCSTATS_HPP
< prev index next >