RFR: 8254883: ZGC: Make the ZArrayIterator reusable for ZRelocationSetIterators [v3]

Per Liden pliden at openjdk.java.net
Sun Oct 18 13:27:23 UTC 2020


> 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).

Per Liden has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev
excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since
the last revision:

 - 8254883: ZGC: Make the ZArrayIterator reusable for ZRelocationSetIterators
 - 8254878: Move last piece of ZArray to GrowableArray

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/697/files
  - new: https://git.openjdk.java.net/jdk/pull/697/files/dd59735a..19041ec8

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=697&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=697&range=01-02

  Stats: 569 lines in 28 files changed: 158 ins; 340 del; 71 mod
  Patch: https://git.openjdk.java.net/jdk/pull/697.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/697/head:pull/697

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



More information about the hotspot-gc-dev mailing list