110 // but only the eden occupancy changes when a new eden region is |
110 // but only the eden occupancy changes when a new eden region is |
111 // allocated. So, in the latter case we have minimal recalcuation to |
111 // allocated. So, in the latter case we have minimal recalcuation to |
112 // do which is important as we want to keep the eden region allocation |
112 // do which is important as we want to keep the eden region allocation |
113 // path as low-overhead as possible. |
113 // path as low-overhead as possible. |
114 |
114 |
115 class G1MonitoringSupport : public CHeapObj { |
115 class G1MonitoringSupport : public CHeapObj<mtGC> { |
116 friend class VMStructs; |
116 friend class VMStructs; |
117 |
117 |
118 G1CollectedHeap* _g1h; |
118 G1CollectedHeap* _g1h; |
119 |
119 |
120 // jstat performance counters |
120 // jstat performance counters |