[crac] RFR: Support updating MANAGEABLE JVM options during restore [v2]

Radim Vansa duke at openjdk.org
Thu May 4 07:17:54 UTC 2023


On Wed, 3 May 2023 09:45:09 GMT, Radim Vansa <duke at openjdk.org> wrote:

>> When a JVM option is MANAGEABLE it can be set at any time during runtime, therefore it is safe to change it during the restore operation. Rather than silently ignoring JVM options passed along with -XX:CRaCRestoreFrom we send them to the restored process and either update or print a warning if given option cannot be changed.
>
> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use RESTORE_SETTABLE on JVM flags
>   
>   * Fail early when using non settable flags
>   * CracBuilder fix: don't use classpath during restore

I think that we could write the name of the engine used to the checkpoint directory, that way the user won't need to pass the engine on restore.

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

PR Comment: https://git.openjdk.org/crac/pull/61#issuecomment-1534201741


More information about the crac-dev mailing list