Currently new main, if provided, is launched too early after restore. There are two issues related to that:
1. It is launched even if a restore exception gets thrown by some resource which means the new main may see the application in a erroneous state.
2. It is launched while holding the checkpoint lock meaning it is not possible to launch another checkpoint while the new main executes.
1. It is launched even if a restore exception gets thrown by some resource which means the new main may see the application in a erroneous state.
2. It is launched while holding the checkpoint lock meaning it is not possible to launch another checkpoint while the new main executes.
- links to
-
Review(crac) openjdk/crac/253