On Sat, 12 Mar 2022 14:58:48 GMT, Quan Anh Mai <d...@openjdk.java.net> wrote:

> The comment is correct, it is just that the backing array allocation is 
> delayed until the first element is added to the list. Thanks.

@merykitty 
Thanks to review.
After new ArrayList, don't know whether to add an element.
The array allocation may not be performed.

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

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

Reply via email to