Integrated: 8300731: Avoid unnecessary array fill after creation in PaletteBuilder
Andrey Turbanov
aturbanov at openjdk.org
Sat Jan 21 19:33:09 UTC 2023
On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov <aturbanov at 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 <aturbanov at 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
More information about the client-libs-dev
mailing list