Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b18
Description
The getAndSet to set the attachment object when registering a channel with a Selector is not needed when the attachment object is null.
While in the area, the AtomicReferenceFieldUpdater to update the attachment can be replaced with a VarHandle.
While in the area, the AtomicReferenceFieldUpdater to update the attachment can be replaced with a VarHandle.