On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> No need to fill elements of array with `null`: it was just created. Java > guarantees that all elements of array are `null`s anyway. This pull request has now been integrated. Changeset: cbfc069f Author: Andrey Turbanov <aturba...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/cbfc069f6a27b272577ddf2abfbc7a3b64739571 Stats: 4 lines in 1 file changed: 0 ins; 3 del; 1 mod 8300731: Avoid unnecessary array fill after creation in PaletteBuilder Reviewed-by: prr, serb ------------- PR: https://git.openjdk.org/jdk/pull/12101