8268443: ParallelGC Full GC should use parallel WeakProcessor
Co-authored-by: Kim Barrett <kbarrett@openjdk.org> Reviewed-by: kbarrett, sjohanss, tschatzl
This commit is contained in:
parent
0a6c7d8a4b
commit
a95e64ccc1
@ -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);
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user