From af7eeffddb40a4786e672e1a4b5bd9426578cd87 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Sun, 11 Feb 2024 15:34:28 +0000 Subject: [PATCH] 8325565: Remove unused SpaceClosure Reviewed-by: kbarrett --- src/hotspot/share/memory/iterator.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/hotspot/share/memory/iterator.hpp b/src/hotspot/share/memory/iterator.hpp index aa092e8536d..06c1bd7415b 100644 --- a/src/hotspot/share/memory/iterator.hpp +++ b/src/hotspot/share/memory/iterator.hpp @@ -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