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

[CRaC] Use /tmp for restore parameters storage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-crac
    • repo-crac
    • hotspot
    • None
    • generic
    • linux

      In AWS Lambda, `shm_open("/crac_XXX", O_RDWR | O_CREAT, 0600)` results in
      ```
      shm_open: No such file or directory
      ```

      To support changing env vars, system properties and some JVM flags we need to fallback to an alternative storage, e.g. a file in `/tmp`.

      Note that AWS does not let you override env vars for the image (it allows CMD override though, which could alter it through a script).

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

              Created:
              Updated:
              Resolved: