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

8271163: G1 uses wrong degree of MT processing since JDK-8270169 #4888

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1848,8 +1848,10 @@ void G1CollectedHeap::ref_processing_init() {
_ref_processor_cm =
new ReferenceProcessor(&_is_subject_to_discovery_cm,
ParallelGCThreads, // degree of mt processing
(ConcGCThreads > 1), // mt discovery
ConcGCThreads, // degree of mt discovery
// We discover with the gc worker threads during Remark, so both
// thread counts must be considered for discovery.
(ParallelGCThreads > 1) || (ConcGCThreads > 1), // mt discovery
MAX2(ParallelGCThreads, ConcGCThreads), // degree of mt discovery
false, // Reference discovery is not atomic
&_is_alive_closure_cm); // is alive closure