mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8267185
: Add string deduplication support to ParallelGC
Reviewed-by: kbarrett, ayang
This commit is contained in:
parent
d874e9616f
commit
fb1dfc6f49
17 changed files with 182 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue