Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8263030: Remove Shenandoah leftovers from ReferenceProcessor
Reviewed-by: zgu
  • Loading branch information
rkennke committed Mar 4, 2021
1 parent 222a17e commit ef5e13d
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 @@ -1157,8 +1157,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 ef5e13d

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