File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -149,11 +149,6 @@ void G1CollectionSet::stop_incremental_building() {
149
149
_inc_build_state = Inactive;
150
150
}
151
151
152
- void G1CollectionSet::finalize_incremental_building () {
153
- assert (_inc_build_state == Active, " Precondition" );
154
- assert (SafepointSynchronize::is_at_safepoint (), " should be at a safepoint" );
155
- }
156
-
157
152
void G1CollectionSet::clear () {
158
153
assert_at_safepoint_on_vm_thread ();
159
154
_collection_set_cur_length = 0 ;
@@ -306,9 +301,10 @@ void G1CollectionSet::print(outputStream* st) {
306
301
// pinned by JNI) to allow faster future evacuation. We already "paid" for this work
307
302
// when sizing the young generation.
308
303
double G1CollectionSet::finalize_young_part (double target_pause_time_ms, G1SurvivorRegions* survivors) {
309
- Ticks start_time = Ticks::now ();
304
+ assert (_inc_build_state == Active, " Precondition" );
305
+ assert (SafepointSynchronize::is_at_safepoint (), " should be at a safepoint" );
310
306
311
- finalize_incremental_building ();
307
+ Ticks start_time = Ticks::now ();
312
308
313
309
guarantee (target_pause_time_ms > 0.0 ,
314
310
" target_pause_time_ms = %1.6lf should be positive" , target_pause_time_ms);
Original file line number Diff line number Diff line change @@ -198,9 +198,6 @@ class G1CollectionSet {
198
198
// as Eden and calculate a prediction on how long the evacuation of all young regions
199
199
// will take.
200
200
double finalize_young_part (double target_pause_time_ms, G1SurvivorRegions* survivors);
201
- // Perform any final calculations on the incremental collection set fields before we
202
- // can use them.
203
- void finalize_incremental_building ();
204
201
205
202
// Select the regions comprising the initial and optional collection set from marking
206
203
// and retained collection set candidates.
You can’t perform that action at this time.
0 commit comments