Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 a95e64c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hotspot/share/gc/parallel/psParallelCompact.cpp
Expand Up @@ -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);
}

{
Expand Down

1 comment on commit a95e64c

@openjdk-notifier
Copy link

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.