mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8043575: Dynamically parallelize reference processing work
In G1 automatically set the number of parallel Reference processing threads Co-authored-by: Sangheon Kim <sangheon.kim@oracle.com> Reviewed-by: sangheki, kbarrett
This commit is contained in:
parent
1a0553e4eb
commit
7f9bbfa767
17 changed files with 216 additions and 69 deletions
|
@ -852,7 +852,8 @@ void PSParallelCompact::post_initialize() {
|
|||
true, // mt discovery
|
||||
ParallelGCThreads, // mt discovery degree
|
||||
true, // atomic_discovery
|
||||
&_is_alive_closure); // non-header is alive closure
|
||||
&_is_alive_closure, // non-header is alive closure
|
||||
false); // disable adjusting number of processing threads
|
||||
_counters = new CollectorCounters("PSParallelCompact", 1);
|
||||
|
||||
// Initialize static fields in ParCompactionManager.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue