From 7a0c45e2f6e8f6762931edcf7d54e6630d3694e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Galder=20Zamarren=CC=83o?= Date: Thu, 29 Sep 2022 15:39:44 +0200 Subject: [PATCH] Switch native GC policy from space/time to adaptive (default) --- .../io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java index db56eab697d05..a004b653675ff 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java @@ -732,8 +732,6 @@ public NativeImageInvokerInfo build() { */ handleAdditionalProperties(nativeImageArgs); - nativeImageArgs.add( - "-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime"); //the default collection policy results in full GC's 50% of the time nativeImageArgs.add("-H:+AllowFoldMethods"); if (nativeConfig.headless) {