Skip to content

Commit 9350a85

Browse files
committed
Improve docs around AOT file generation
1 parent 0274822 commit 9350a85

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/src/main/asciidoc/appcds.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,14 @@ AppCDS has improved significantly in the latest JDK releases. This means that to
9898
[TIP]
9999
====
100100
Starting with JDK 24, the JVM provides an evolution of the class-data sharing in the form of the AOT cache.
101-
If you are building an application that will target JDK 24+ you can take advantage of this feature by adding the following system property when packaging your application:
101+
If you are building an application that will target JDK 25+ you can take advantage of this feature by adding the following system property when packaging your application:
102102
103103
[source,bash]
104104
----
105-
-Dquarkus.package.jar.appcds.use-aot=true
105+
-Dquarkus.package.jar.appcds.enabled=true -Dquarkus.package.jar.appcds.use-aot=true
106106
----
107107
108-
The result of this flag (plus the `-Dquarkus.package.jar.appcds.enabled=true` original one) is the creation of an AOT cache file
109-
named `app.aot`.
108+
The result of using these flags is the creation of an AOT cache file named `app.aot`.
110109
111110
You can use this AOT cache when launching the application like so:
112111

0 commit comments

Comments
 (0)