Skip to content

Commit a95e64c

Browse files
albertnetymkKim Barrett
and
Kim Barrett
committed
8268443: ParallelGC Full GC should use parallel WeakProcessor
Co-authored-by: Kim Barrett <kbarrett@openjdk.org> Reviewed-by: kbarrett, sjohanss, tschatzl
1 parent 0a6c7d8 commit a95e64c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/hotspot/share/gc/parallel/psParallelCompact.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,10 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,
21142114

21152115
{
21162116
GCTraceTime(Debug, gc, phases) tm("Weak Processing", &_gc_timer);
2117-
WeakProcessor::weak_oops_do(is_alive_closure(), &do_nothing_cl);
2117+
WeakProcessor::weak_oops_do(&ParallelScavengeHeap::heap()->workers(),
2118+
is_alive_closure(),
2119+
&do_nothing_cl,
2120+
1);
21182121
}
21192122

21202123
{

0 commit comments

Comments
 (0)