Skip to content

Commit 45a60db

Browse files
committed
8277045: G1: Remove unnecessary set_concurrency call in G1ConcurrentMark::weak_refs_work
Reviewed-by: tschatzl, sjohanss
1 parent 6bb0462 commit 45a60db

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hotspot/share/gc/g1/g1ConcurrentMark.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,10 +1618,6 @@ void G1ConcurrentMark::weak_refs_work() {
16181618
uint active_workers = (ParallelRefProcEnabled ? _g1h->workers()->active_workers() : 1U);
16191619
active_workers = clamp(active_workers, 1u, _max_num_tasks);
16201620

1621-
// Set the concurrency level. The phase was already set prior to
1622-
// executing the remark task.
1623-
set_concurrency(active_workers);
1624-
16251621
// Set the degree of MT processing here. If the discovery was done MT,
16261622
// the number of threads involved during discovery could differ from
16271623
// the number of active workers. This is OK as long as the discovered

0 commit comments

Comments
 (0)