mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +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
|
@ -70,9 +70,6 @@ bool PSScavenge::_promotion_failed = false;
|
|||
// Define before use
|
||||
class PSIsAliveClosure: public BoolObjectClosure {
|
||||
public:
|
||||
void do_object(oop p) {
|
||||
assert(false, "Do not call.");
|
||||
}
|
||||
bool do_object_b(oop p) {
|
||||
return (!PSScavenge::is_obj_in_young((HeapWord*) p)) || p->is_forwarded();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue