JDK-7184932 : (sc) Replace use of temporary selectors in socket adapters with poll
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 6,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_2.5.1
  • CPU: generic,x86
  • Submitted: 2012-07-18
  • Updated: 2020-02-26
  • Resolved: 2012-10-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8 b61Fixed openjdk7uFixed
Related Reports
Duplicate :  
Relates :  
Description
Running prstat while executing the attached test before removing selectors results in:

14303 robm      183M   67M sleep   59    0   0:00:00 1.0% java/90

After:
14310 robm      172M   53M sleep   59    0   0:00:00 0.5% java/90

for 1000 sockets.

Comments
EVALUATION Replacing the selectors with a poll method has an effect on memory usage.
18-07-2012