Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/gcStats.hpp @ 6197:d2a62e0f25eb
6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking
Summary: Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
author | zgu |
---|---|
date | Thu, 28 Jun 2012 17:03:16 -0400 |
parents | f95d63e2154a |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP | 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP |
26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP | 26 #define SHARE_VM_GC_IMPLEMENTATION_SHARED_GCSTATS_HPP |
27 | 27 |
28 #include "gc_implementation/shared/gcUtil.hpp" | 28 #include "gc_implementation/shared/gcUtil.hpp" |
29 | 29 |
30 class GCStats : public CHeapObj { | 30 class GCStats : public CHeapObj<mtGC> { |
31 protected: | 31 protected: |
32 // Avg amount promoted; used for avoiding promotion undo | 32 // Avg amount promoted; used for avoiding promotion undo |
33 // This class does not update deviations if the sample is zero. | 33 // This class does not update deviations if the sample is zero. |
34 AdaptivePaddedNoZeroDevAverage* _avg_promoted; | 34 AdaptivePaddedNoZeroDevAverage* _avg_promoted; |
35 | 35 |