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

[CRaC] Check whether CRaCRestoreFrom does exist

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-crac
    • repo-crac
    • hotspot
    • None
    • generic
    • generic

      Currently JVM does not check whether the directory specified via `-XX:CRaCRestoreFrom` exists delegating that to a C/R engine:
      ```
      $ java -XX:CRaCRestoreFrom=cr
      Error (criu/image.c:577): Can't open dir cr: No such file or directory
      Error (criu/crtools.c:237): Couldn't open image dir cr
      ```

      To allow the JVM itself to read from the directory (will be needed in some planned changes) and make the error message engine-independent we should instead make the JVM perform the check.

            tpushkin Timofei Pushkin
            tpushkin Timofei Pushkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: