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
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
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