8325565: Remove unused SpaceClosure

Reviewed-by: kbarrett
This commit is contained in:
Albert Mingkun Yang 2024-02-11 15:34:28 +00:00
parent 232d136885
commit af7eeffddb

@ -233,16 +233,6 @@ public:
ObjectToOopClosure(OopIterateClosure* cl) : _cl(cl) {}
};
// SpaceClosure is used for iterating over spaces
class Space;
class SpaceClosure : public StackObj {
public:
// Called for each space
virtual void do_space(Space* s) = 0;
};
// CodeBlobClosure is used for iterating through code blobs
// in the code cache or on thread stacks