[CRaC] Process restore options in the common arguments parser

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • repo-crac
    • Affects Version/s: repo-crac
    • Component/s: hotspot
    • None

      JDK-8355974 moved restore to a point of VM initialization after the arguments arguments so now we do not need to parse arguments for restore separately.

      In fact, besides worse performance, there are bugs related to the current double parsing. For example, elements of CRaCEngineOptions get recorded twice:
      ```
      java -XX:CRaCEngineOptions=direct_map=false -XX:CRaCRestoreFrom=cr
      [0.025s][warning][crac] CRaC engine option 'direct_map' specified multiple times
      ```

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

              Created:
              Updated:
              Resolved: