comparison src/share/vm/memory/freeBlockDictionary.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 f69a5d43dc19
children da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
32 #include "utilities/ostream.hpp" 32 #include "utilities/ostream.hpp"
33 33
34 // A FreeBlockDictionary is an abstract superclass that will allow 34 // A FreeBlockDictionary is an abstract superclass that will allow
35 // a number of alternative implementations in the future. 35 // a number of alternative implementations in the future.
36 template <class Chunk> 36 template <class Chunk>
37 class FreeBlockDictionary: public CHeapObj { 37 class FreeBlockDictionary: public CHeapObj<mtGC> {
38 public: 38 public:
39 enum Dither { 39 enum Dither {
40 atLeast, 40 atLeast,
41 exactly, 41 exactly,
42 roughly 42 roughly