mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8034842: Parallelize the Free CSet phase in G1
Reviewed-by: jmasa, ehelin
This commit is contained in:
parent
c0e5b2646f
commit
ada5ab192f
10 changed files with 297 additions and 144 deletions
|
@ -1159,10 +1159,10 @@ public:
|
|||
hr->set_containing_set(NULL);
|
||||
if (hr->is_humongous()) {
|
||||
_humongous_regions_removed++;
|
||||
_g1->free_humongous_region(hr, _local_cleanup_list, true);
|
||||
_g1->free_humongous_region(hr, _local_cleanup_list, true /* skip_remset */);
|
||||
} else {
|
||||
_old_regions_removed++;
|
||||
_g1->free_region(hr, _local_cleanup_list, true);
|
||||
_g1->free_region(hr, _local_cleanup_list, true /* skip_remset */);
|
||||
}
|
||||
} else {
|
||||
hr->rem_set()->do_cleanup_work(_hrrs_cleanup_task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue