Merge pull request #552 from TeamPiped/optimize-hotspot

Optimize hotspot flags and use by default
This commit is contained in:
Kavin 2023-03-13 00:28:55 +00:00 committed by GitHub
commit 87aec4782e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -13,12 +13,12 @@ jobs:
strategy:
matrix:
include:
- image: 1337kavin/piped:latest,1337kavin/piped:openj9
- image: 1337kavin/piped:openj9
dockerfile: ./Dockerfile.openj9.ci
- image: 1337kavin/piped:hotspot
- image: 1337kavin/piped:latest,1337kavin/piped:hotspot
dockerfile: ./Dockerfile.ci
- image: 1337kavin/piped:graalvm-jvm
dockerfile: ./Dockerfile.graalvm-jvm.ci
# - image: 1337kavin/piped:graalvm-jvm
# dockerfile: ./Dockerfile.graalvm-jvm.ci
steps:
- uses: actions/checkout@v3
- name: Create Version File

View file

@ -17,4 +17,4 @@ COPY VERSION .
EXPOSE 8080
CMD ["java", "--enable-preview", "-jar", "/app/piped.jar"]
CMD java -server -Xmx1G -XX:+UnlockExperimentalVMOptions -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:+UnlockExperimentalVMOptions -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -Xshare:on --enable-preview -jar /app/piped.jar