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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: repo-crac
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: