Mercurial > hg > truffle
comparison src/share/vm/memory/barrierSet.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 | fd09f2d8283e |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
29 #include "oops/oopsHierarchy.hpp" | 29 #include "oops/oopsHierarchy.hpp" |
30 | 30 |
31 // This class provides the interface between a barrier implementation and | 31 // This class provides the interface between a barrier implementation and |
32 // the rest of the system. | 32 // the rest of the system. |
33 | 33 |
34 class BarrierSet: public CHeapObj { | 34 class BarrierSet: public CHeapObj<mtGC> { |
35 friend class VMStructs; | 35 friend class VMStructs; |
36 public: | 36 public: |
37 enum Name { | 37 enum Name { |
38 ModRef, | 38 ModRef, |
39 CardTableModRef, | 39 CardTableModRef, |