You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/main/asciidoc/aot.adoc
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,44 @@ You can obtain more information about AOT cache usage with the `-Xlog:aot` optio
173
173
You can collect even more information in an `aot.log` file with `-Xlog:class+load=info,aot+codecache=debug:file=aot.log:level,tags`.
174
174
====
175
175
176
+
== Manual AOT file generation
177
+
178
+
As explained above, Quarkus takes care of all the heavy lifting when coming to the AOT file generation. However, in cases where more control is needed, users can perform the necessary steps manually.
179
+
180
+
To build an application using the `aot-jar` packaging, use the following:
After driving some load to the application, stop it. Once the process is stopped, you will notice that the `app.aot` has been created in the same directory as `quarkus-run.jar`.
211
+
212
+
Please refer to [JEP 514](https://openjdk.org/jeps/514) for more details.
213
+
176
214
== Container images
177
215
178
216
Quarkus can automatically build container images that include AOT caches, giving you fast startup times out of the box.
0 commit comments