RFR: 8254671: ZGC: Remove unused roots iterator types

Per Liden pliden at openjdk.java.net
Tue Oct 13 13:11:18 UTC 2020


On Tue, 13 Oct 2020 12:53:32 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> The types ZOopStorageIterator, ZSerialOopsDo and ZParallelWeakOopsDo are no longer used and can be removed.
>
> 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)

Good point, will fix!

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

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



More information about the hotspot-gc-dev mailing list