-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
b18
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.