Skip to content
Permalink
Browse files
8268443: ParallelGC Full GC should use parallel WeakProcessor
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: kbarrett, sjohanss, tschatzl
  • Loading branch information
albertnetymk and Kim Barrett committed Jun 10, 2021
1 parent 0a6c7d8 commit a95e64ccc1ebe74e8b4b8e0729183ee6c4e772ac
Showing 1 changed file with 4 additions and 1 deletion.
@@ -2114,7 +2114,10 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,

{
GCTraceTime(Debug, gc, phases) tm("Weak Processing", &_gc_timer);
WeakProcessor::weak_oops_do(is_alive_closure(), &do_nothing_cl);
WeakProcessor::weak_oops_do(&ParallelScavengeHeap::heap()->workers(),
is_alive_closure(),
&do_nothing_cl,
1);
}

{

0 comments on commit a95e64c

Please sign in to comment.