Skip to content

Commit

Permalink
Move GC to ZGC in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mithandir committed Sep 13, 2023
1 parent 76f184f commit 58b6836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ COPY --from=build-env ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY --from=build-env ${DEPENDENCY}/META-INF /app/META-INF
COPY --from=build-env ${DEPENDENCY}/BOOT-INF/classes /app

ENTRYPOINT ["java","--enable-preview","-cp","app:app/lib/*","ch.climbd.newsfeed.NewsfeedApplication"]
ENTRYPOINT ["java","--enable-preview","-XX:+UseZGC","-XX:+UseDynamicNumberOfGCThreads","-cp","app:app/lib/*","ch.climbd.newsfeed.NewsfeedApplication"]

0 comments on commit 58b6836

Please sign in to comment.