Optimize HotSpot flags for performance.

This commit is contained in:
Kavin 2023-03-13 00:17:58 +00:00
parent c28495f9bb
commit e9b51017b0
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
2 changed files with 2 additions and 2 deletions

View File

@ -17,4 +17,4 @@ COPY VERSION .
EXPOSE 8080 EXPOSE 8080
CMD ["java", "--enable-preview", "-jar", "/app/piped.jar"] CMD java -server -Xmx1G -XX:+AggressiveOpts -XX:+UnlockExperimentalVMOptions -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -Xshare:on --enable-preview -jar /app/piped.jar

View File

@ -8,4 +8,4 @@ COPY VERSION .
EXPOSE 8080 EXPOSE 8080
CMD ["java", "--enable-preview", "-jar", "/app/piped.jar"] CMD java -server -Xmx1G -XX:+AggressiveOpts -XX:+UnlockExperimentalVMOptions -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -Xshare:on --enable-preview -jar /app/piped.jar