From c167e59bb464cfbe4ac22f62a8f80806d6281805 Mon Sep 17 00:00:00 2001 From: "Michael G. Noll" Date: Wed, 18 Sep 2024 20:38:46 +0200 Subject: [PATCH] README: manual instructions include ZGC settings --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0f858c..15c80e0 100644 --- a/README.md +++ b/README.md @@ -143,10 +143,10 @@ on Windows). $ ./mvnw clean verify package # Run the application locally. -$ ./mvnw spring-boot:run +$ ./mvnw spring-boot:run -Dspring-boot.run.jvmArguments="-XX:+UseZGC -XX:+ZGenerational" # Alternatively, run the application locally via its jar file. -$ java -jar target/app.jar +$ java -XX:+UseZGC -XX:+ZGenerational -jar target/app.jar ``` # Appendix