Skip to content

Commit 9ba46f5

Browse files
committed
Polish
1 parent cc4ef32 commit 9ba46f5

File tree

1 file changed

+5
-5
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/deployment

1 file changed

+5
-5
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/deployment/efficient.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ The jar contains a `classpath.idx` file which is used by the `JarLauncher` when
3434

3535
[[deployment.efficient.aot]]
3636
=== Using Ahead-of-time Processing With the JVM
37-
3837
It's beneficial for the startup time to run your application using the AOT generated initialization code.
3938
First, you need to ensure that the jar you are building includes AOT generated code.
4039

@@ -51,9 +50,9 @@ When the JAR has been built, run it with `spring.aot.enabled` system property se
5150

5251
[source,shell,indent=0,subs="verbatim"]
5352
----
54-
$ java -Dspring.aot.enabled=true -jar myapplication.jar
53+
$ java -Dspring.aot.enabled=true -jar myapplication.jar
5554
56-
........ Starting AOT-processed MyApplication ...
55+
........ Starting AOT-processed MyApplication ...
5756
----
5857

5958
Beware that using the ahead-of-time processing has drawbacks.
@@ -66,10 +65,11 @@ It implies the following restrictions:
6665

6766
To learn more about ahead-of-time processing, please see the <<native-image#native-image.introducing-graalvm-native-images.understanding-aot-processing,Understanding Spring Ahead-of-Time Processing section>>.
6867

68+
69+
6970
[[deployment.efficient.checkpoint-restore]]
7071
=== Checkpoint and Restore With the JVM
71-
72-
https://wiki.openjdk.org/display/crac/Main[CRaC] is an OpenJDK project that defines a new Java API to allow you to checkpoint and restore an application on the HotSpot JVM.
72+
https://wiki.openjdk.org/display/crac/Main[Coordinated Restore at Checkpoint] (CRaC) is an OpenJDK project that defines a new Java API to allow you to checkpoint and restore an application on the HotSpot JVM.
7373
It is based on https://github.com/checkpoint-restore/criu[CRIU], a project that implements checkpoint/restore functionality on Linux.
7474

7575
The principle is the following: you start your application almost as usual but with a CRaC enabled version of the JDK like https://www.azul.com/downloads/?package=jdk-crac#zulu[the one provided by Azul].

0 commit comments

Comments
 (0)