Use the default G1GC on JDK 17+

Remove -XX:+UseParallelGC and use the default garbage collector as the improvements are minimal on JDK 17+
This commit is contained in:
Goooler
2022-10-12 18:10:49 +08:00
parent c7ad0d0085
commit 4d38496a9c

View File

@@ -8,7 +8,7 @@ kotlin.code.style=official
kotlin.incremental.useClasspathSnapshot=true
org.gradle.caching=true
org.gradle.jvmargs=-Xmx4g -XX:+UseParallelGC -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
org.gradle.parallel=true
# https://docs.gradle.org/7.4/userguide/configuration_cache.html
org.gradle.unsafe.configuration-cache=true