RFR: 8254671: ZGC: Remove unused roots iterator types

Stefan Karlsson stefank at openjdk.java.net
Tue Oct 13 12:57:14 UTC 2020


On Tue, 13 Oct 2020 10:06:23 GMT, Per Liden <pliden at openjdk.org> wrote:

> The types ZOopStorageIterator, ZSerialOopsDo and ZParallelWeakOopsDo are no longer used and can be removed.

Looks good an trivial

src/hotspot/share/gc/z/zRootsIterator.hpp line 38:

> 36: class ZRootsIteratorClosure;
> 37:
> 38: typedef OopStorage::ParState<true /* concurrent */, false /* is_const */> ZOopStorageIterator;

If you want you could also remove #include "gc/shared/oopStorageParState.hpp" from this file (though it's implicitly
included, so will not matter more than fewer includes)

-------------

Marked as reviewed by stefank (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/629



More information about the hotspot-gc-dev mailing list