comparison src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.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 da91efe96a93
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
38 // virtual space as was previously done. If expanding of reserved 38 // virtual space as was previously done. If expanding of reserved
39 // size of a generation is required, the adjacent generation 39 // size of a generation is required, the adjacent generation
40 // must be shrunk. Adjusting the boundary between the generations 40 // must be shrunk. Adjusting the boundary between the generations
41 // is called for in this class. 41 // is called for in this class.
42 42
43 class AdjoiningGenerations : public CHeapObj { 43 class AdjoiningGenerations : public CHeapObj<mtGC> {
44 friend class VMStructs; 44 friend class VMStructs;
45 private: 45 private:
46 // The young generation and old generation, respectively 46 // The young generation and old generation, respectively
47 PSYoungGen* _young_gen; 47 PSYoungGen* _young_gen;
48 PSOldGen* _old_gen; 48 PSOldGen* _old_gen;