RFR: 8299976: Initialize static fields in Net eagerly [v2]

Alan Bateman alanb at openjdk.org
Fri Jan 13 12:21:16 UTC 2023


On Thu, 12 Jan 2023 09:02:48 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.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rename, move and add clarification

Marked as reviewed by alanb (Reviewer).

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

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


More information about the nio-dev mailing list