Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8270169: G1: Incorrect reference discovery MT degree in concurrent marking

wants to merge 1 commit into from
Changes from all commits
File filter

Filter by extension

Filter by extension

Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1845,8 +1845,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