1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Fri Jun 29 17:12:15 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Mon Jul 02 13:11:28 2012 -0400 1.3 @@ -40,7 +40,7 @@ 1.4 // TraceGen0Time collects data on _both_ young and mixed evacuation pauses 1.5 // (the latter may contain non-young regions - i.e. regions that are 1.6 // technically in Gen1) while TraceGen1Time collects data about full GCs. 1.7 -class TraceGen0TimeData : public CHeapObj { 1.8 +class TraceGen0TimeData : public CHeapObj<mtGC> { 1.9 private: 1.10 unsigned _young_pause_num; 1.11 unsigned _mixed_pause_num; 1.12 @@ -86,7 +86,7 @@ 1.13 void print() const; 1.14 }; 1.15 1.16 -class TraceGen1TimeData : public CHeapObj { 1.17 +class TraceGen1TimeData : public CHeapObj<mtGC> { 1.18 private: 1.19 NumberSeq _all_full_gc_times; 1.20 1.21 @@ -131,7 +131,7 @@ 1.22 // 1.23 // NewSize and MaxNewSize override NewRatio. So, NewRatio is ignored if it is 1.24 // combined with either NewSize or MaxNewSize. (A warning message is printed.) 1.25 -class G1YoungGenSizer : public CHeapObj { 1.26 +class G1YoungGenSizer : public CHeapObj<mtGC> { 1.27 private: 1.28 enum SizerKind { 1.29 SizerDefaults,