[crac] RFR: 8364662: [CRaC] Process restore options in the common arguments parser [v3]

Timofei Pushkin tpushkin at openjdk.org
Fri Aug 8 11:42:52 UTC 2025


> Options for restore are now processed during the common VM arguments parsing stage.
> 
> Notable improvements compared to the old code:
> - Options from `-XX:Flags=<file>` and `-XX:VMOptionsFile=<file>` are now also considered
> - Option aliasing is now handled correctly
> 
> **Behavioral change**. If `CRaCIgnoreRestoreIfUnavailable` is true it is now not an error to specify non-restore-settable options on restore — these will just be omitted from forwarding to the restored JVM. This makes it possible to specify non-restore-settable to be used after a failed restore.

Timofei Pushkin has updated the pull request incrementally with one additional commit since the last revision:

  Fix name vs real name comparison

-------------

Changes:
  - all: https://git.openjdk.org/crac/pull/258/files
  - new: https://git.openjdk.org/crac/pull/258/files/3a1080b3..51e4d3dd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=crac&pr=258&range=02
 - incr: https://webrevs.openjdk.org/?repo=crac&pr=258&range=01-02

  Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/crac/pull/258.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/258/head:pull/258

PR: https://git.openjdk.org/crac/pull/258


More information about the crac-dev mailing list