Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/shared/spaceDecorator.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 |
---|---|
68 // GenSpaceMangler is used with the GenCollectedHeap collectors and | 68 // GenSpaceMangler is used with the GenCollectedHeap collectors and |
69 // MutableSpaceMangler is used with the ParallelScavengeHeap collectors. | 69 // MutableSpaceMangler is used with the ParallelScavengeHeap collectors. |
70 // These subclasses abstract the differences in the types of spaces used | 70 // These subclasses abstract the differences in the types of spaces used |
71 // by each heap. | 71 // by each heap. |
72 | 72 |
73 class SpaceMangler: public CHeapObj { | 73 class SpaceMangler: public CHeapObj<mtGC> { |
74 friend class VMStructs; | 74 friend class VMStructs; |
75 | 75 |
76 // High water mark for allocations. Typically, the space above | 76 // High water mark for allocations. Typically, the space above |
77 // this point have been mangle previously and don't need to be | 77 // this point have been mangle previously and don't need to be |
78 // touched again. Space belows this point has been allocated | 78 // touched again. Space belows this point has been allocated |