8267185: Add string deduplication support to ParallelGC

Reviewed-by: kbarrett, ayang
This commit is contained in:
Ivan Walulya 2021-08-20 11:30:00 +00:00
parent d874e9616f
commit fb1dfc6f49
17 changed files with 182 additions and 1 deletions

View file

@ -103,6 +103,12 @@ void ParCompactionManager::reset_all_bitmap_query_caches() {
}
}
void ParCompactionManager::flush_all_string_dedup_requests() {
uint parallel_gc_threads = ParallelScavengeHeap::heap()->workers().total_workers();
for (uint i=0; i<=parallel_gc_threads; i++) {
_manager_array[i]->flush_string_dedup_requests();
}
}
ParCompactionManager*
ParCompactionManager::gc_thread_compaction_manager(uint index) {