101 size_t last_allocation_size,
102 double last_allocation_duration,
103 double last_marking_length) {
104 send_basic_ihop_statistics(threshold,
105 target_ccupancy,
106 current_occupancy,
107 last_allocation_size,
108 last_allocation_duration,
109 last_marking_length);
110 }
111
112 void G1NewTracer::report_adaptive_ihop_statistics(size_t threshold,
113 size_t internal_target_occupancy,
114 size_t current_occupancy,
115 size_t additional_buffer_size,
116 double predicted_allocation_rate,
117 double predicted_marking_length,
118 bool prediction_active) {
119 send_adaptive_ihop_statistics(threshold,
120 internal_target_occupancy,
121 additional_buffer_size,
122 current_occupancy,
123 predicted_allocation_rate,
124 predicted_marking_length,
125 prediction_active);
126 }
127
128 void G1NewTracer::send_g1_young_gc_event() {
129 EventG1GarbageCollection e(UNTIMED);
130 if (e.should_commit()) {
131 e.set_gcId(GCId::current());
132 e.set_type(_g1_young_gc_info.type());
133 e.set_starttime(_shared_gc_info.start_timestamp());
134 e.set_endtime(_shared_gc_info.end_timestamp());
135 e.commit();
136 }
137 }
138
139 void G1NewTracer::send_evacuation_info_event(G1EvacuationInfo* info) {
140 EventEvacuationInformation e;
141 if (e.should_commit()) {
142 e.set_gcId(GCId::current());
|
101 size_t last_allocation_size,
102 double last_allocation_duration,
103 double last_marking_length) {
104 send_basic_ihop_statistics(threshold,
105 target_ccupancy,
106 current_occupancy,
107 last_allocation_size,
108 last_allocation_duration,
109 last_marking_length);
110 }
111
112 void G1NewTracer::report_adaptive_ihop_statistics(size_t threshold,
113 size_t internal_target_occupancy,
114 size_t current_occupancy,
115 size_t additional_buffer_size,
116 double predicted_allocation_rate,
117 double predicted_marking_length,
118 bool prediction_active) {
119 send_adaptive_ihop_statistics(threshold,
120 internal_target_occupancy,
121 current_occupancy,
122 additional_buffer_size,
123 predicted_allocation_rate,
124 predicted_marking_length,
125 prediction_active);
126 }
127
128 void G1NewTracer::send_g1_young_gc_event() {
129 EventG1GarbageCollection e(UNTIMED);
130 if (e.should_commit()) {
131 e.set_gcId(GCId::current());
132 e.set_type(_g1_young_gc_info.type());
133 e.set_starttime(_shared_gc_info.start_timestamp());
134 e.set_endtime(_shared_gc_info.end_timestamp());
135 e.commit();
136 }
137 }
138
139 void G1NewTracer::send_evacuation_info_event(G1EvacuationInfo* info) {
140 EventEvacuationInformation e;
141 if (e.should_commit()) {
142 e.set_gcId(GCId::current());
|