Add ActiveProcessorCount
@@ -99,7 +99,7 @@ configure_cpu() {
if ((jvm_availableProcessors > 0)); then
cpu_options="-XX:ActiveProcessorCount=${jvm_availableProcessors}"
else
- cpu_options=`nproc`
+ cpu_options="-XX:ActiveProcessorCount=`nproc`"
fi
}
