Integrated: 8295808: GrowableArray should support capacity management
Kim Barrett
kbarrett at openjdk.org
Tue Oct 25 17:46:46 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
This pull request has now been integrated.
Changeset: 3a873d3c
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3a873d3c5b2281b2389e9364ff26f04ee86b0607
Stats: 195 lines in 8 files changed: 90 ins; 19 del; 86 mod
8295808: GrowableArray should support capacity management
Reviewed-by: aboldtch, tschatzl, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/10827
More information about the serviceability-dev
mailing list