Skip to content

Commit 93f41d9

Browse files
committed
use g1gc
1 parent 050c863 commit 93f41d9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sample-apps/java/springboot-main-service/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jib {
6161
}
6262
container {
6363
mainClass = "com.amazon.sampleapp.FrontendService"
64+
applicationDefaultJvmArgs = listOf("-XX:+UseG1GC")
6465
ports = listOf("8080")
6566
}
6667
}

sample-apps/java/springboot-remote-service/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jib {
5656
}
5757
container {
5858
mainClass = "com.amazon.sampleapp.RemoteService"
59+
applicationDefaultJvmArgs = listOf("-XX:+UseG1GC")
5960
ports = listOf("8080")
6061
}
6162
}

0 commit comments

Comments
 (0)