RFR: 8295808: GrowableArray should support capacity management
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Oct 25 08:02:57 UTC 2022
On Sat, 22 Oct 2022 01:38:44 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to GrowableArray to support capacity management.
> Two functions are added to GrowableArray, reserve and shrink_to_fit. Also
> renamed the max_length function to capacity.
>
> Used these new functions in StringDedupTable.
>
> Testing: mach5 tier1-3
Looks good.
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10827
More information about the serviceability-dev
mailing list