RFR: 8319709: Make GrowableArrayCHeap copyable
Johan Sjölen
jsjolen at openjdk.org
Wed Nov 8 13:34:15 UTC 2023
On Wed, 8 Nov 2023 13:25:00 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:
> Hi,
>
> Please consider this code change which makes `GrowableArrayCHeap` copyable. The resulting copy does not share its data array with the original.
src/hotspot/share/utilities/growableArray.hpp line 370:
> 368: protected:
> 369: void grow(int j);
> 370:
Needed to make the method visible to subclasses.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16559#discussion_r1386617947
More information about the hotspot-dev
mailing list