RFR: 8295808: GrowableArray should support capacity management

Thomas Schatzl tschatzl at openjdk.org
Mon Oct 24 11:45:51 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

Marked as reviewed by tschatzl (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/10827


More information about the serviceability-dev mailing list