canonical / openjdk-21-crac

OpenJDK 21 with CRaC support. This repository hosts CRaC patches from https://github.com/openjdk/crac backported to jdk21u.
GNU General Public License v2.0
0 stars 0 forks source link

How to checkpoint and restore? #5

Open xnox opened 4 weeks ago

xnox commented 4 weeks ago

Does checkpoint and restore.... work?

Is there a sample, hello world like example, that shows creating checkpoint and restoring it?

So far all of my attempts have failed.

A smoketest demo would help, or sample steps in README.md or as a github action or an Ubuntu Autopkgtest.

pushkarnk commented 3 weeks ago

Hi @xnox

Here is a demo for checkpointing and restoring SpringBoot PetClinic - https://github.com/pushkarnk/springboot-petclinic-crac/blob/main/README.md

A similar demo using Ubuntu ROCKS is here - https://github.com/pushkarnk/openjdk-crac-rocks-demo

I have plans to have these JTREG tests run through autopkgtest.