United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7191587 (se) SelectionKey.interestOps does not defer changing the interest set to the next select [macosx]
JDK-7191587 : (se) SelectionKey.interestOps does not defer changing the interest set to the next select [macosx]

Details
Type:
Bug
Submit Date:
2012-08-15
Status:
Closed
Updated Date:
2013-02-04
Project Name:
JDK
Resolved Date:
2012-09-05
Component:
core-libs
OS:
generic
Sub-Component:
java.nio
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
This bug tracks a potential hang and spin with Apple's kqueue Selector, the start of the disucssion is here:

http://mail.openjdk.java.net/pipermail/nio-dev/2012-August/001805.html

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

                                    

Comments
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
                                     
2012-08-23



Hardware and Software, Engineered to Work Together