Integrated: 8299976: Initialize static fields in Net eagerly

Per Minborg pminborg at openjdk.org
Fri Jan 13 15:23:05 UTC 2023


On Wed, 11 Jan 2023 15:01:54 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes initializing some static fields eagerly using `final` fields. 
> 
> This will improve performance slightly and will allow us to remove two static fields.
> 
> The PR also contains "blessed" variable casing and deduplication of exception creation.

This pull request has now been integrated.

Changeset: ce1193a1
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ce1193a1edb3cdf20f9448ccbbfb053c2418074a
Stats:     98 lines in 1 file changed: 13 ins; 15 del; 70 mod

8299976: Initialize static fields in Net eagerly

Reviewed-by: alanb

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

PR: https://git.openjdk.org/jdk/pull/11948


More information about the nio-dev mailing list