diff --git a/build.sbt b/build.sbt index 16945c4..57c5415 100644 --- a/build.sbt +++ b/build.sbt @@ -26,6 +26,7 @@ lazy val graalOptions = Seq( // For the release build, optimize for speed and make a build report if (isDevBuild) Seq("-Ob") else Seq("-O3", "--emit build-report"), ).flatten ++ Seq( + "--gc=G1", // Use the faster, parallel G1 garbage collector "--features=eu.neverblink.jelly.cli.graal.ProtobufFeature", "-H:ReflectionConfigurationFiles=" + file("graal.json").getAbsolutePath, // Needed to skip initializing all charsets.