mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34: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
|
@ -44,9 +44,6 @@ class G1CMIsAliveClosure: public BoolObjectClosure {
|
|||
public:
|
||||
G1CMIsAliveClosure(G1CollectedHeap* g1) : _g1(g1) { }
|
||||
|
||||
void do_object(oop obj) {
|
||||
ShouldNotCallThis();
|
||||
}
|
||||
bool do_object_b(oop obj);
|
||||
};
|
||||
|
||||
|
|
|
@ -5090,7 +5090,6 @@ class G1AlwaysAliveClosure: public BoolObjectClosure {
|
|||
G1CollectedHeap* _g1;
|
||||
public:
|
||||
G1AlwaysAliveClosure(G1CollectedHeap* g1) : _g1(g1) {}
|
||||
void do_object(oop p) { assert(false, "Do not call."); }
|
||||
bool do_object_b(oop p) {
|
||||
if (p != NULL) {
|
||||
return true;
|
||||
|
|
|
@ -165,7 +165,6 @@ class G1STWIsAliveClosure: public BoolObjectClosure {
|
|||
G1CollectedHeap* _g1;
|
||||
public:
|
||||
G1STWIsAliveClosure(G1CollectedHeap* g1) : _g1(g1) {}
|
||||
void do_object(oop p) { assert(false, "Do not call."); }
|
||||
bool do_object_b(oop p);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue