mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 22:50:08 +00:00
8270169: G1: Incorrect reference discovery MT degree in concurrent marking
Reviewed-by: tschatzl, iwalulya, kbarrett
This commit is contained in:
parent
41a5eb4372
commit
7d2825e421
@ -1838,8 +1838,8 @@ void G1CollectedHeap::ref_processing_init() {
|
||||
_ref_processor_cm =
|
||||
new ReferenceProcessor(&_is_subject_to_discovery_cm,
|
||||
ParallelGCThreads, // degree of mt processing
|
||||
(ParallelGCThreads > 1) || (ConcGCThreads > 1), // mt discovery
|
||||
MAX2(ParallelGCThreads, ConcGCThreads), // degree of mt discovery
|
||||
(ConcGCThreads > 1), // mt discovery
|
||||
ConcGCThreads, // degree of mt discovery
|
||||
false, // Reference discovery is not atomic
|
||||
&_is_alive_closure_cm); // is alive closure
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user