RFR: 8312527: (ch) Re-examine use of sun.nio.ch.Invoker.myGroupAndInvokeCount
Alan Bateman
alanb at openjdk.org
Fri Oct 13 06:25:20 UTC 2023
On Thu, 12 Oct 2023 19:13:43 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Initialize private static local variable `myGroupAndInvokeCount` to a `ThreadLocal` instead of to an anonymous class effectively identical to `ThreadLocal`.
No need to override initialValue so I think this cleanup looks okay,
-------------
Marked as reviewed by alanb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16170#pullrequestreview-1675792412
More information about the nio-dev
mailing list