comparison src/share/vm/memory/permGen.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
comparison
equal deleted inserted replaced
6174:74533f63b116 6197:d2a62e0f25eb
40 class GenRemSet; 40 class GenRemSet;
41 class CSpaceCounters; 41 class CSpaceCounters;
42 42
43 // PermGen models the part of the heap used to allocate class meta-data. 43 // PermGen models the part of the heap used to allocate class meta-data.
44 44
45 class PermGen : public CHeapObj { 45 class PermGen : public CHeapObj<mtGC> {
46 friend class VMStructs; 46 friend class VMStructs;
47 protected: 47 protected:
48 size_t _capacity_expansion_limit; // maximum expansion allowed without a 48 size_t _capacity_expansion_limit; // maximum expansion allowed without a
49 // full gc occurring 49 // full gc occurring
50 void set_capacity_expansion_limit(size_t limit) { 50 void set_capacity_expansion_limit(size_t limit) {