Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
8263030: Remove Shenandoah leftovers from ReferenceProcessor
Backport-of: ef5e13d263b6d4aaa50e777f7a3fc818293126c8
  • Loading branch information
shipilev committed Mar 22, 2021
1 parent 71102e7 commit 2c6b47c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hotspot/share/gc/shared/referenceProcessor.cpp
Expand Up @@ -1164,8 +1164,7 @@ bool ReferenceProcessor::discover_reference(oop obj, ReferenceType rt) {
// Check assumption that an object is not potentially
// discovered twice except by concurrent collectors that potentially
// trace the same Reference object twice.
assert(UseG1GC || UseShenandoahGC,
"Only possible with a concurrent marking collector");
assert(UseG1GC, "Only possible with a concurrent marking collector");
return true;
}
}
Expand Down

1 comment on commit 2c6b47c

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