Skip to content
Permalink
Browse files
8277045: G1: Remove unnecessary set_concurrency call in G1ConcurrentM…
…ark::weak_refs_work

Reviewed-by: tschatzl, sjohanss
  • Loading branch information
albertnetymk committed Nov 17, 2021
1 parent 6bb0462 commit 45a60db5a0aa78fa9eb1c2899bd167c136e0fa03
Showing 1 changed file with 0 additions and 4 deletions.
@@ -1618,10 +1618,6 @@ void G1ConcurrentMark::weak_refs_work() {
uint active_workers = (ParallelRefProcEnabled ? _g1h->workers()->active_workers() : 1U);
active_workers = clamp(active_workers, 1u, _max_num_tasks);

// Set the concurrency level. The phase was already set prior to
// executing the remark task.
set_concurrency(active_workers);

// Set the degree of MT processing here. If the discovery was done MT,
// the number of threads involved during discovery could differ from
// the number of active workers. This is OK as long as the discovered

1 comment on commit 45a60db

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 45a60db Nov 17, 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.