Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/space.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 | a05a695ea044 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
103 // | 103 // |
104 // Invariant: bottom() and end() are on page_size boundaries and | 104 // Invariant: bottom() and end() are on page_size boundaries and |
105 // bottom() <= top() <= end() | 105 // bottom() <= top() <= end() |
106 // top() is inclusive and end() is exclusive. | 106 // top() is inclusive and end() is exclusive. |
107 | 107 |
108 class Space: public CHeapObj { | 108 class Space: public CHeapObj<mtGC> { |
109 friend class VMStructs; | 109 friend class VMStructs; |
110 protected: | 110 protected: |
111 HeapWord* _bottom; | 111 HeapWord* _bottom; |
112 HeapWord* _end; | 112 HeapWord* _end; |
113 | 113 |