mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Merge pull request #552 from TeamPiped/optimize-hotspot
Optimize hotspot flags and use by default
This commit is contained in:
commit
87aec4782e
3 changed files with 6 additions and 6 deletions
8
.github/workflows/docker-build.yml
vendored
8
.github/workflows/docker-build.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue