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

[CRaC] Support FD policy reopen on listening socket

XMLWordPrintable

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

      FD policies offer a configurable way to handle file descriptors that haven't been closed by application. Currently it is possible to forcefully close open sockets, but not reopen them as in the case of FDs pointing to files.

      While it does not seem practical to reopen sockets that represent actual connections (because CRaC cannot reconstruct the other side of the connection), a listening socket can be reopened on the same address.

      FD policy like this is not intended to be a final solution for the application, but can provide a workaround when POCing the benefit of CRaC.

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

              Created:
              Updated:
              Resolved: