From 5470e8e021a4edd7300f55ffb4c07bdb60d5ed83 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 18 Sep 2021 22:27:24 +0100 Subject: [PATCH] Remove the flag they removed in Java 17 which we used for testing --- FreeOP Servers/.env.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FreeOP Servers/.env.sh b/FreeOP Servers/.env.sh index e19c10c..767c5a7 100644 --- a/FreeOP Servers/.env.sh +++ b/FreeOP Servers/.env.sh @@ -16,4 +16,7 @@ RESET_FILE="/home/tfserver/.resetting" #JVM_LAUNCH_OPTS="-XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10" #Java 16 Launch Opts -JVM_LAUNCH_OPTS="--illegal-access=permit -XX:+UseZGC -XX:+DisableExplicitGC" +#JVM_LAUNCH_OPTS="--illegal-access=permit -XX:+UseZGC -XX:+DisableExplicitGC" + +#Java 17 Launch Opts +JVM_LAUNCH_OPTS="-XX:+UseZGC -XX:+DisableExplicitGC"