[crac] RFR: Provide arguments for restore [v7]

Ashutosh Mehra duke at openjdk.java.net
Thu Apr 7 20:24:13 UTC 2022


On Thu, 7 Apr 2022 13:35:56 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

>> This change adds an ability to receive a new set of command-line arguments in the restored Java instance. The supplied demo code shows a faster replacement for `javac`.
>
> Anton Kozlov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Handle missing env (although should not happen)

Dan and I have a discussion internally about this PR and we agree its worth going ahead with what we have in this PR. At this point there isn't much clarity on the the way the applications would need to access the new arguments, but providing some mechanism to make the new arguments available on restore would at least enable us to play with more real-world applications and use-cases having these requirements. Based on that experience we can always revisit and make adjustments if required.

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

PR: https://git.openjdk.java.net/crac/pull/16


More information about the crac-dev mailing list