Skip to content

Commit c48c4db

Browse files
committed
chore: AOT cache changes
1 parent a7d4dec commit c48c4db

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,18 +149,11 @@ The next version will be based on the semantic version scope (`major`, `minor`,
149149
* AOT Cache
150150

151151
```bash
152-
# Training Run
152+
# Training Run to create AOT cache
153153
$ java --enable-preview \
154154
-XX:+UseZGC \
155155
-XX:+UseCompactObjectHeaders \
156-
-XX:AOTMode=record -XX:AOTConfiguration=app.aotconf \
157-
-jar backend/jvm/build/libs/jvm-all.jar
158-
159-
# Create AOT archive
160-
$ java --enable-preview \
161-
-XX:+UseZGC \
162-
-XX:+UseCompactObjectHeaders \
163-
-XX:AOTMode=create -XX:AOTConfiguration=app.aotconf -XX:AOTCache=app.aot \
156+
-XX:AOTCacheOutput=app.aot \
164157
-jar backend/jvm/build/libs/jvm-all.jar
165158

166159
# Run with AOT

0 commit comments

Comments
 (0)