Skip to content
Permalink
Browse files
8270169: G1: Incorrect reference discovery MT degree in concurrent ma…
…rking

Reviewed-by: tschatzl, iwalulya, kbarrett
  • Loading branch information
albertnetymk committed Jul 12, 2021
1 parent 41a5eb4 commit 7d2825e4219671bdaef6586864afecbca7b33e48
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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

1 comment on commit 7d2825e

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 7d2825e Jul 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.