mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8135253: Add push method to CollectionSetChooser
Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
89ec770497
commit
c00b15bccd
3 changed files with 41 additions and 33 deletions
|
@ -2037,7 +2037,7 @@ void G1CollectorPolicy::finalize_old_cset_part(double time_remaining_ms) {
|
|||
// We will add this region to the CSet.
|
||||
time_remaining_ms = MAX2(time_remaining_ms - predicted_time_ms, 0.0);
|
||||
predicted_old_time_ms += predicted_time_ms;
|
||||
cset_chooser->remove_and_move_to_next(hr);
|
||||
cset_chooser->pop(); // already have region via peek()
|
||||
_g1->old_set_remove(hr);
|
||||
add_old_region_to_cset(hr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue