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

[CRaC] Process restore options in the common arguments parser

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-crac
    • repo-crac
    • 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
      ```

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

              Created:
              Updated:
              Resolved: