[crac] RFR: Reseed secure random on checkpoint restore [v2]

Alexey Bakhtin abakhtin at openjdk.java.net
Fri Dec 24 12:14:07 UTC 2021


On Fri, 24 Dec 2021 08:49:28 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Another option is to make `SeederHolder` to be the `Resource` that cleans `seeder` on checkpoint and creates one on restore. I think `seeder.clearStateOnCheckpoint = true` won't be needed, as the next checkpoint will clear-up the seeder again.

You are right. Thank you. Reimplemented as you suggested

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

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


More information about the crac-dev mailing list