From 26966e31581c2b9d2b4cb3afa62177e758bdbcbe Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Tue, 26 Sep 2023 09:02:34 +0300 Subject: [PATCH] Add note about JDK version in AppCDS doc Relates to: https://github.com/quarkusio/quarkus/issues/32877#issuecomment-1734230601 (cherry picked from commit b815ca5f5eb8a691fd8ac290a48bd3659fe67c5c) --- docs/src/main/asciidoc/appcds.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/main/asciidoc/appcds.adoc b/docs/src/main/asciidoc/appcds.adoc index 25486c848647a3..5811801c47bb0e 100644 --- a/docs/src/main/asciidoc/appcds.adoc +++ b/docs/src/main/asciidoc/appcds.adoc @@ -87,6 +87,11 @@ This results in an archive generation process that on one hand is completely saf As a result, users are expected to get a slightly more effective archive if they manually go through the hoops of generating the AppCDS archive. ==== +[IMPORTANT] +==== +AppCDS has improved significantly in the latest JDK releases. This means that to ensure the best possible improvements from it, make sure your projects targets the highest possible Java version (ideally 17 or 21). +==== + === Usage in containers When building container images using the `quarkus-container-image-jib` extension, Quarkus automatically takes care of all the steps needed to generate the archive