Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parNew/parGCAllocBuffer.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 | c760f78e0a53 |
children |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
33 // Forward decl. | 33 // Forward decl. |
34 | 34 |
35 class PLABStats; | 35 class PLABStats; |
36 | 36 |
37 // A per-thread allocation buffer used during GC. | 37 // A per-thread allocation buffer used during GC. |
38 class ParGCAllocBuffer: public CHeapObj { | 38 class ParGCAllocBuffer: public CHeapObj<mtGC> { |
39 protected: | 39 protected: |
40 char head[32]; | 40 char head[32]; |
41 size_t _word_sz; // in HeapWord units | 41 size_t _word_sz; // in HeapWord units |
42 HeapWord* _bottom; | 42 HeapWord* _bottom; |
43 HeapWord* _top; | 43 HeapWord* _top; |