[crac] Integrated: 8364662: [CRaC] Process restore options in the common arguments parser
Timofei Pushkin
tpushkin at openjdk.org
Fri Aug 8 17:32:34 UTC 2025
On Mon, 4 Aug 2025 18:12:57 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.
This pull request has now been integrated.
Changeset: 30d91696
Author: Timofei Pushkin <tpushkin at openjdk.org>
URL: https://git.openjdk.org/crac/commit/30d916967890b93c4e2eda54ca39b66e3001eaa2
Stats: 363 lines in 7 files changed: 216 ins; 100 del; 47 mod
8364662: [CRaC] Process restore options in the common arguments parser
Reviewed-by: rvansa
-------------
PR: https://git.openjdk.org/crac/pull/258
More information about the crac-dev
mailing list