RFR: 8254883: ZGC: Make the ZArrayIterator reusable for ZRelocationSetIterators

Per Liden pliden at openjdk.java.net
Fri Oct 16 10:26:21 UTC 2020


On Fri, 16 Oct 2020 09:30:53 GMT, Per Liden <pliden at openjdk.org> wrote:

> The ZRelocationSetIterators are mostly just duplicate implementations of the ZArrayIterators. With some slight
> adjustments to ZArrayIteratorImpl we can make that code reusable for ZRelocationSetIteratorImpl.
> Note that this PR builds/depends on "8254878: Move last piece of ZArray to GrowableArray", which is out for review as a
> separate PR (https://github.com/openjdk/jdk/pull/694).

Updated to make the iterator take const arrays.

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

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



More information about the hotspot-gc-dev mailing list