Skip to content

Commit

Permalink
Merge pull request #552 from TeamPiped/optimize-hotspot
Browse files Browse the repository at this point in the history
Optimize hotspot flags and use by default
  • Loading branch information
FireMasterK authored Mar 13, 2023
2 parents c28495f + a8645f8 commit 87aec47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 87aec47

Please sign in to comment.