Skip to content

Commit

Permalink
change gc to g1gc for linux distribution of cli (#63)
Browse files Browse the repository at this point in the history
* enabled g1gc

Signed-off-by: munishchouhan <hrma017@gmail.com>

* enabled g1gc only for linux

Signed-off-by: munishchouhan <hrma017@gmail.com>

---------

Signed-off-by: munishchouhan <hrma017@gmail.com>
  • Loading branch information
munishchouhan committed Apr 8, 2024
1 parent 416005c commit 9decb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ graalvmNative {
configurationFileDirectories.from(file('conf'))

if (System.env.getOrDefault("PLATFORM", "") == "linux-x86_64") {
buildArgs(['--static', '--libc=musl'])
buildArgs(['--static', '--libc=musl', '--gc=G1'])
}

javaLauncher = javaToolchains.launcherFor {
Expand Down

0 comments on commit 9decb2a

Please sign in to comment.