78 G1MonitoringSupport::G1MonitoringSupport(G1CollectedHeap* g1h) : |
78 G1MonitoringSupport::G1MonitoringSupport(G1CollectedHeap* g1h) : |
79 _g1h(g1h), |
79 _g1h(g1h), |
80 _incremental_collection_counters(NULL), |
80 _incremental_collection_counters(NULL), |
81 _full_collection_counters(NULL), |
81 _full_collection_counters(NULL), |
82 _conc_collection_counters(NULL), |
82 _conc_collection_counters(NULL), |
|
83 _young_collection_counters(NULL), |
83 _old_collection_counters(NULL), |
84 _old_collection_counters(NULL), |
84 _old_space_counters(NULL), |
85 _old_space_counters(NULL), |
85 _young_collection_counters(NULL), |
|
86 _eden_counters(NULL), |
86 _eden_counters(NULL), |
87 _from_counters(NULL), |
87 _from_counters(NULL), |
88 _to_counters(NULL), |
88 _to_counters(NULL), |
89 |
89 |
90 _overall_reserved(0), |
90 _overall_reserved(0), |
91 _overall_committed(0), _overall_used(0), |
91 _overall_committed(0), |
|
92 _overall_used(0), |
92 _young_region_num(0), |
93 _young_region_num(0), |
93 _young_gen_committed(0), |
94 _young_gen_committed(0), |
94 _eden_committed(0), _eden_used(0), |
95 _eden_committed(0), |
95 _survivor_committed(0), _survivor_used(0), |
96 _eden_used(0), |
96 _old_committed(0), _old_used(0) { |
97 _survivor_committed(0), |
|
98 _survivor_used(0), |
|
99 _old_committed(0), |
|
100 _old_used(0) { |
97 |
101 |
98 _overall_reserved = g1h->max_capacity(); |
102 _overall_reserved = g1h->max_capacity(); |
99 recalculate_sizes(); |
103 recalculate_sizes(); |
100 |
104 |
101 // Counters for GC collections |
105 // Counters for GC collections |