Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.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 |
---|---|
30 // VirtualSpace for the parallel scavenge collector. | 30 // VirtualSpace for the parallel scavenge collector. |
31 // | 31 // |
32 // VirtualSpace is data structure for committing a previously reserved address | 32 // VirtualSpace is data structure for committing a previously reserved address |
33 // range in smaller chunks. | 33 // range in smaller chunks. |
34 | 34 |
35 class PSVirtualSpace : public CHeapObj { | 35 class PSVirtualSpace : public CHeapObj<mtGC> { |
36 friend class VMStructs; | 36 friend class VMStructs; |
37 protected: | 37 protected: |
38 // The space is committed/uncommited in chunks of size _alignment. The | 38 // The space is committed/uncommited in chunks of size _alignment. The |
39 // ReservedSpace passed to initialize() must be aligned to this value. | 39 // ReservedSpace passed to initialize() must be aligned to this value. |
40 const size_t _alignment; | 40 const size_t _alignment; |