[crac] RFR: 8364662: [CRaC] Process restore options in the common arguments parser [v2]
Timofei Pushkin
tpushkin at openjdk.org
Thu Aug 7 10:09:34 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 two additional commits since the last revision:
- Fix flag name comparison
- Handle aliased restore-settable boolean options
-------------
Changes:
- all: https://git.openjdk.org/crac/pull/258/files
- new: https://git.openjdk.org/crac/pull/258/files/c59efa51..3a1080b3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=crac&pr=258&range=01
- incr: https://webrevs.openjdk.org/?repo=crac&pr=258&range=00-01
Stats: 57 lines in 2 files changed: 16 ins; 0 del; 41 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