mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-01-07 18:10:30 +05:30
Merge pull request #552 from TeamPiped/optimize-hotspot
Optimize hotspot flags and use by default
This commit is contained in:
commit
87aec4782e
8
.github/workflows/docker-build.yml
vendored
8
.github/workflows/docker-build.yml
vendored
@ -13,12 +13,12 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- image: 1337kavin/piped:latest,1337kavin/piped:openj9
|
- image: 1337kavin/piped:openj9
|
||||||
dockerfile: ./Dockerfile.openj9.ci
|
dockerfile: ./Dockerfile.openj9.ci
|
||||||
- image: 1337kavin/piped:hotspot
|
- image: 1337kavin/piped:latest,1337kavin/piped:hotspot
|
||||||
dockerfile: ./Dockerfile.ci
|
dockerfile: ./Dockerfile.ci
|
||||||
- image: 1337kavin/piped:graalvm-jvm
|
# - image: 1337kavin/piped:graalvm-jvm
|
||||||
dockerfile: ./Dockerfile.graalvm-jvm.ci
|
# dockerfile: ./Dockerfile.graalvm-jvm.ci
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Create Version File
|
- name: Create Version File
|
||||||
|
@ -17,4 +17,4 @@ COPY VERSION .
|
|||||||
|
|
||||||
EXPOSE 8080
|
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
|
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 New Issue
Block a user