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

[CRaC] Close EPoll FDs when FD policies close registered sockets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-crac
    • core-libs
    • None

      FD policies are applied as the last set of JDK resources. When these are meant to close server sockets, it’s rather too late: open epollfd won’t be closed automatically as these have the socket registered when we the automatic close is performed.

      We can apply FD policies on sockets and close these if requested before EPoll FD handling. The downside is that we would not handle sockets opened during checkpoint, but generally the application should not do that.

            rvansa Radim Vansa
            rvansa Radim Vansa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: