Skip to content

Commit

Permalink
Switch native GC policy from space/time to adaptive (default)
Browse files Browse the repository at this point in the history
  • Loading branch information
galderz committed Sep 29, 2022
1 parent 2ea8de0 commit 7a0c45e
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 7a0c45e

Please sign in to comment.