From 32fbdd9cdeedbebb4986cf3408d7a3d10f01aa28 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Sat, 22 Mar 2025 13:50:56 +0100 Subject: [PATCH] Remove deprectated JAVA_ARGS Both JAVA_ARGS are obsolete since JDK14 and expired in JDK15. They are no longer work on modern illumos (SunOS) distributions. Additonal the comment mention Darwin which is not SunOS. --- startYACY.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/startYACY.sh b/startYACY.sh index e1cac6ba5..52ad55b67 100755 --- a/startYACY.sh +++ b/startYACY.sh @@ -177,9 +177,6 @@ then # JAVA_ARGS="$JAVA_ARGS -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC" elif [ $OS = "SunOS" ] then - # the UseConcMarkSweepGC option caused a full CPU usage - bug on Darwin. - # It was reported that the same option causes good performance on solaris. - JAVA_ARGS="$JAVA_ARGS -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode" ENABLEHUGEPAGES=1 fi