JDK-7191587 : (se) SelectionKey.interestOps does not defer changing the interest set to the next select [macosx]
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-15
  • Updated: 2013-06-26
  • Resolved: 2012-09-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.
7u40Fixed 8 b55Fixed
This bug tracks a potential hang and spin with Apple's kqueue Selector, the start of the disucssion is here:


Minimally we will need to change this Selector so that it batches the changes to the interest ops to the next select operation.

EVALUATION Implementation changes to defer the updates to the next select as per the other Selector implementations, see: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/de5a85353f4d