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. |