Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 553 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 553 Bytes

example-quarkus project

Building

mvn package

Running

Please refer to README for details.

Preparing the image

  1. Run the JDK in the checkpoint mode
$JAVA_HOME/bin/java -XX:CRaCCheckpointTo=cr -jar target/quarkus-app/quarkus-run.jar
  1. Warm-up the instance
siege -c 1 -r 100000 -b http://localhost:8080/hello
  1. Request checkpoint
jcmd quarkus-app/quarkus-run.jar JDK.checkpoint

Restoring

$JAVA_HOME/bin/java -XX:CRaCRestoreFrom=cr