From dbec3f1fa138a653c93fe161fe8883e1fc7e15a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 4 Dec 2023 14:27:29 +0100 Subject: [PATCH] Polish --- .../modules/ROOT/pages/integration/class-data-sharing.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc b/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc index b2357ebbe32..63407688b54 100644 --- a/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc +++ b/framework-docs/modules/ROOT/pages/integration/class-data-sharing.adoc @@ -19,7 +19,7 @@ been published. To create the archive, two additional JVM flags must be specified: -* `-XX:ArchiveClassesAtExit=app-cds.jsa`: creates the CDS archive on exit +* `-XX:ArchiveClassesAtExit=application.jsa`: creates the CDS archive on exit * `-Dspring.context.exit=onRefresh`: starts and then immediately exits your Spring application as described above @@ -40,8 +40,8 @@ The base CDS archive can be created by issuing the following command: == Using the Archive -Once the archive is available, add `-XX:SharedArchiveFile=app-cds.jsa` to your startup -script to use it, assuming a `app-cds.jsa` file in the working directory. +Once the archive is available, add `-XX:SharedArchiveFile=application.jsa` to your startup +script to use it, assuming a `application.jsa` file in the working directory. To figure out how effective the cache is, you can enable class loading logs by adding an extra attribute: `-Xlog:class+load:file=cds.log`. This creates a `cds.log` with every