Integrated: 8254878: Move last piece of ZArray to GrowableArray

Per Liden pliden at openjdk.java.net
Tue Oct 20 13:18:10 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.

This pull request has now been integrated.

Changeset: cdc8c401
Author:    Per Liden <pliden at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/cdc8c401
Stats:     33 lines in 5 files changed: 6 ins; 23 del; 4 mod

8254878: Move last piece of ZArray to GrowableArray

Reviewed-by: stefank, eosterlund

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

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



More information about the hotspot-gc-dev mailing list