mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
Reviewed-by: sangheki, sjohanss
This commit is contained in:
parent
c5ce7408b3
commit
faff99f2fc
6 changed files with 238 additions and 153 deletions
|
@ -298,7 +298,7 @@ G1RemSet::~G1RemSet() {
|
|||
}
|
||||
|
||||
uint G1RemSet::num_par_rem_sets() {
|
||||
return MAX2(DirtyCardQueueSet::num_par_ids() + G1ConcurrentRefine::thread_num(), ParallelGCThreads);
|
||||
return MAX2(DirtyCardQueueSet::num_par_ids() + G1ConcurrentRefine::max_num_threads(), ParallelGCThreads);
|
||||
}
|
||||
|
||||
void G1RemSet::initialize(size_t capacity, uint max_regions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue