File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6161 -s "Started Application" \
6262 -e exitcode \
6363 jdk14-crac/bin/java \
64- -Zcheckpoint: cr \
64+ -XX:CRaCCheckpointTo= cr \
6565 -XX:+UnlockDiagnosticVMOptions \
6666 -XX:+CRTraceStartupTime \
6767 -Djdk.crac.trace-startup-time=true \
@@ -75,12 +75,12 @@ jobs:
7575 run : |
7676 P=$(utils/start-bg.sh \
7777 -s "restore-finish" \
78- jdk14-crac/bin/java -Zrestore: cr)
78+ jdk14-crac/bin/java -XX:CRaCRestoreFrom= cr)
7979 curl -X POST -H "Content-Type: text/plain" -d "$(<example.xml)" localhost:8080/transform | grep "My Article"
8080 utils/bench.sh -H "Content-type: text/plain" "http://localhost:8080/transform POST < example.xml"
8181 kill $P
8282
8383 - name : Test C/RaC startup time
8484 run :
85- timeout 3 bash -c "jdk14-crac/lib/javatime ; jdk14-crac/bin/java -Zrestore: cr"
85+ timeout 3 bash -c "jdk14-crac/lib/javatime ; jdk14-crac/bin/java -XX:CRaCRestoreFrom= cr"
8686 | utils/sel.awk -v from=prestart -v to=restore-finish
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Please refer to [README](https://github.com/org-crac/docs#users-flow) for detail
2020### Preparing the image
21211 . Run the [ JDK] ( README.md#JDK ) in the checkpoint mode
2222```
23- $JAVA_HOME/bin/java -Zcheckpoint: cr -jar target/spring-boot-0.0.1-SNAPSHOT.jar
23+ $JAVA_HOME/bin/java -XX:CRaCCheckpointTo= cr -jar target/spring-boot-0.0.1-SNAPSHOT.jar
2424```
25252 . Warm-up the instance
2626```
@@ -34,5 +34,5 @@ jcmd target/spring-boot-0.0.1-SNAPSHOT.jar JDK.checkpoint
3434### Restoring
3535
3636```
37- $JAVA_HOME/bin/java -Zrestore: cr
37+ $JAVA_HOME/bin/java -XX:CRaCRestoreFrom= cr
3838```
You can’t perform that action at this time.
0 commit comments