On Sun, 22 Sep 2024 02:03:02 GMT, Chen Liang <li...@openjdk.org> wrote:
> We should declare `count` before `ensureCapacitiyInternal`. Same for append > boolean. Declaring count before ensureCapacityInternal will cause performance regression under x64. It took a lot of time to find this, but the underlying reason is still unclear. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/19626#discussion_r1770587530