RFR: 8254878: Move last piece of ZArray to GrowableArray

Per Liden pliden at openjdk.java.net
Sun Oct 18 13:24:28 UTC 2020


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

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

Rebased and updated a unit test.

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

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



More information about the hotspot-gc-dev mailing list