File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ Please refer to [README](https://github.com/CRaC/docs#users-flow) for details.
16
16
### Preparing the image
17
17
1 . Run the [ JDK] ( README.md#JDK ) in the checkpoint mode
18
18
```
19
- $JAVA_HOME/bin/java -XX:CRaCCheckpointTo=cr -jar target/spring-boot-0.0.1-SNAPSHOT.jar
19
+ $JAVA_HOME/bin/java -XX:CRaCCheckpointTo=cr -jar target/example- spring-boot-0.0.1-SNAPSHOT.jar
20
20
```
21
21
2 . Warm-up the instance
22
22
```
23
23
siege -c 1 -r 100000 -b http://localhost:8080
24
24
```
25
25
3 . Request checkpoint
26
26
```
27
- jcmd target/spring-boot-0.0.1-SNAPSHOT.jar JDK.checkpoint
27
+ jcmd target/example- spring-boot-0.0.1-SNAPSHOT.jar JDK.checkpoint
28
28
```
29
29
30
30
### Restoring
Original file line number Diff line number Diff line change 9
9
<relativePath /> <!-- lookup parent from repository -->
10
10
</parent >
11
11
<groupId >com.example</groupId >
12
- <artifactId >spring-boot-initial </artifactId >
12
+ <artifactId >example- spring-boot</artifactId >
13
13
<version >0.0.1-SNAPSHOT</version >
14
- <name >spring-boot-initial </name >
14
+ <name >example- spring-boot</name >
15
15
<description >Demo project for Spring Boot</description >
16
16
<properties >
17
17
<java .version>17</java .version>
You can’t perform that action at this time.
0 commit comments