-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b08
The implementations of implReg and implDereg have a lot of duplicate code, this can be moved up to SelectorImpl to avoid the duplication.
Several of Selector implementation use a BitSet to track if a file descriptor is registrated. This can be improved by recording the registered events in the selection key.
The select based Selector implementation on Windows is not aligned with the other implementations, in particular its implReg and putEventOps update the poll array directly. In addition, it maintains its own closed status which is not needed.
Several of Selector implementation use a BitSet to track if a file descriptor is registrated. This can be improved by recording the registered events in the selection key.
The select based Selector implementation on Windows is not aligned with the other implementations, in particular its implReg and putEventOps update the poll array directly. In addition, it maintains its own closed status which is not needed.
- relates to
-
JDK-8200583 (se) Selector clean-up, part 4
-
- Resolved
-
-
JDK-8210917 (se) Re-implement Windows Selector
-
- Closed
-
-
JDK-8199791 (se) More Selector cleanup, part 1
-
- Resolved
-
-
JDK-8200179 (se) More Selector cleanup, part 2
-
- Resolved
-