[crac] RFR: 8365241: [CRaC] Ignore new arguments when CRaCIgnoreRestoreIfUnavailable is true
Jan Kratochvil
jkratochvil at openjdk.org
Mon Aug 11 18:19:30 UTC 2025
On Mon, 11 Aug 2025 11:14:56 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:
> Arguments are not passed to the restored process when `-XX:+CRaCIgnoreRestoreIfUnavailable` is set on restore. The check is performed on the side of the restoring VM since in the restored VM `CRaCIgnoreRestoreIfUnavailable` could have been set before the current restore.
>
> Documentation for the new arguments feature and `CRaCIgnoreRestoreIfUnavailable` is also added, explaining this behavior.
Is there a use case when the passed new arguments/main *are* useful? Is there a s testcase for it? (I have been quickly searching it now but I haven't found it.)
-------------
PR Comment: https://git.openjdk.org/crac/pull/261#issuecomment-3176259090
More information about the crac-dev
mailing list