8034842: Parallelize the Free CSet phase in G1

Reviewed-by: jmasa, ehelin
This commit is contained in:
Thomas Schatzl 2016-07-19 10:31:41 +02:00
parent c0e5b2646f
commit ada5ab192f
10 changed files with 297 additions and 144 deletions

View file

@ -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);