Integrated: 8300929: Avoid unnecessary array fill after creation in java.awt.image
Andrey Turbanov
aturbanov at openjdk.org
Fri Feb 3 06:55:05 UTC 2023
On Mon, 23 Jan 2023 17:20:41 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> No need to fill elements of array with default values if it was just created. Java guarantees that all elements of numeric array have default values after allocations - 0.
This pull request has now been integrated.
Changeset: 406021ad
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/406021ad585eec1ec007535ed6b08c2ebffec2ee
Stats: 39 lines in 5 files changed: 2 ins; 31 del; 6 mod
8300929: Avoid unnecessary array fill after creation in java.awt.image
Reviewed-by: attila, serb, aivanov
-------------
PR: https://git.openjdk.org/jdk/pull/12147
More information about the client-libs-dev
mailing list