RFR: 8254878: Move last piece of ZArray to GrowableArray [v2]
Per Liden
pliden at openjdk.java.net
Sun Oct 18 13:24:28 UTC 2020
> ZArray used to be a separate implementation of a dynamically allocated/growable array. It now instead inherits from
> GrowableCHeapArray, and extends it with a transfer() function. I propose we rename this function to swap() and move it
> to GrowableArrayWithAllocator, since this function could be generally useful. It would also mean that ZArray could be
> just a typedef/using of GrowableCHeapArray.
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 one additional commit since
the last revision:
8254878: Move last piece of ZArray to GrowableArray
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/694/files
- new: https://git.openjdk.java.net/jdk/pull/694/files/1d9807cc..2667d7dd
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=694&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=694&range=00-01
Stats: 528 lines in 25 files changed: 156 ins; 307 del; 65 mod
Patch: https://git.openjdk.java.net/jdk/pull/694.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/694/head:pull/694
PR: https://git.openjdk.java.net/jdk/pull/694
More information about the hotspot-gc-dev
mailing list