Mercurial > hg > graal-compiler
comparison src/share/vm/memory/generation.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 | b632e80fc9dc |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6174:74533f63b116 | 6197:d2a62e0f25eb |
---|---|
84 HeapWord scratch_space[1]; // Actually, of size "num_words-2" (assuming | 84 HeapWord scratch_space[1]; // Actually, of size "num_words-2" (assuming |
85 // first two fields are word-sized.) | 85 // first two fields are word-sized.) |
86 }; | 86 }; |
87 | 87 |
88 | 88 |
89 class Generation: public CHeapObj { | 89 class Generation: public CHeapObj<mtGC> { |
90 friend class VMStructs; | 90 friend class VMStructs; |
91 private: | 91 private: |
92 jlong _time_of_last_gc; // time when last gc on this generation happened (ms) | 92 jlong _time_of_last_gc; // time when last gc on this generation happened (ms) |
93 MemRegion _prev_used_region; // for collectors that want to "remember" a value for | 93 MemRegion _prev_used_region; // for collectors that want to "remember" a value for |
94 // used region at some specific point during collection. | 94 // used region at some specific point during collection. |