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

Radim Vansa rvansa at openjdk.org
Fri Aug 8 11:47:23 UTC 2025


On Fri, 8 Aug 2025 11:42:52 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:

>> 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

Marked as reviewed by rvansa (Committer).

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

PR Review: https://git.openjdk.org/crac/pull/258#pullrequestreview-3100485062


More information about the crac-dev mailing list