src/share/vm/memory/generation.hpp

changeset 3900
d2a62e0f25eb
parent 3711
b632e80fc9dc
child 4037
da91efe96a93
equal deleted inserted replaced
3877:74533f63b116 3900: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.

mercurial