Skip to content

Commit

Permalink
8256278: Shenandoah: Avoid num of dead callback from weak processor i…
Browse files Browse the repository at this point in the history
…n Shenandoah root verifier

Reviewed-by: rkennke, shade
  • Loading branch information
zhengyu123 committed Nov 12, 2020
1 parent b5a9c92 commit 531c56e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp
Expand Up @@ -36,7 +36,6 @@
#include "gc/shenandoah/shenandoahUtils.hpp"
#include "gc/shared/oopStorage.inline.hpp"
#include "gc/shared/oopStorageSet.hpp"
#include "gc/shared/weakProcessor.inline.hpp"
#include "runtime/thread.hpp"
#include "utilities/debug.hpp"

Expand Down Expand Up @@ -100,8 +99,8 @@ void ShenandoahRootVerifier::oops_do(OopClosure* oops) {

if (verify(WeakRoots)) {
shenandoah_assert_safepoint();
AlwaysTrueClosure always_true;
WeakProcessor::weak_oops_do(&always_true, oops);
serial_weak_roots_do(oops);
concurrent_weak_roots_do(oops);
} else if (verify(SerialWeakRoots)) {
shenandoah_assert_safepoint();
serial_weak_roots_do(oops);
Expand Down

1 comment on commit 531c56e

@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.