Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8199433

(se) select(Consumer<SelectionKey> action) as alternative to selected-key set

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • core-libs
    • None
    • b19

        This issue tracks a proposal from Richard Warburton for a select method that invokes an action on each selected key as an alternative to the selected-key set. The original proposal is here:

        http://mail.openjdk.java.net/pipermail/nio-dev/2016-January/003479.html

        The main advantage of the proposal is that it avoids the GC pressure due to adding and removing elements from the selected-key set.

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: