(se) epoll Selector should use epoll_create1 instead of epoll_create

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 15
    • Affects Version/s: None
    • Component/s: core-libs
    • b18

      The epoll Selector creates the epoll file descriptor with epoll_create, it should change to epoll_create1 as the size specified to epoll_create is ignored. epoll_create1 allows the EPOLL_CLOEXEC flag to be specified so it avoids needing to close the file descriptor when a sub-process is created.

      More discussion here:
      https://mail.openjdk.java.net/pipermail/nio-dev/2020-April/007175.html

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: