Skip to content

Commit

Permalink
Merge pull request #28295 from galderz/topic.0929.switch-to-adaptive
Browse files Browse the repository at this point in the history
Switch native GC policy from space/time to adaptive (default)
  • Loading branch information
gsmet authored Sep 30, 2022
2 parents 05f50da + 7a0c45e commit 317bfa3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 317bfa3

Please sign in to comment.