mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -212,7 +212,6 @@ void SharedHeap::process_strong_roots(bool activate_scope,
|
|||
|
||||
class AlwaysTrueClosure: public BoolObjectClosure {
|
||||
public:
|
||||
void do_object(oop p) { ShouldNotReachHere(); }
|
||||
bool do_object_b(oop p) { return true; }
|
||||
};
|
||||
static AlwaysTrueClosure always_true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue