mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8014277: Remove ObjectClosure as base class for BoolObjectClosure
Reviewed-by: brutisso, tschatzl
This commit is contained in:
parent
b8276670c2
commit
0f9e2457c5
16 changed files with 1 additions and 29 deletions
|
@ -485,10 +485,6 @@ class CMSIsAliveClosure: public BoolObjectClosure {
|
|||
assert(!span.is_empty(), "Empty span could spell trouble");
|
||||
}
|
||||
|
||||
void do_object(oop obj) {
|
||||
assert(false, "not to be invoked");
|
||||
}
|
||||
|
||||
bool do_object_b(oop obj);
|
||||
};
|
||||
|
||||
|
@ -1536,9 +1532,6 @@ class ScanMarkedObjectsAgainClosure: public UpwardsObjectClosure {
|
|||
_bit_map(bit_map),
|
||||
_par_scan_closure(cl) { }
|
||||
|
||||
void do_object(oop obj) {
|
||||
guarantee(false, "Call do_object_b(oop, MemRegion) instead");
|
||||
}
|
||||
bool do_object_b(oop obj) {
|
||||
guarantee(false, "Call do_object_b(oop, MemRegion) form instead");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue