Skip to content

Commit 653bb62

Browse files
committed
TESTING: set ADAPTIVE_SIZE_ESTIMATOR_MIN_SIZE_COST_TRADEOFF = 0.45.
1 parent 19d0772 commit 653bb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/AdaptiveCollectionPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ final class AdaptiveCollectionPolicy extends AbstractCollectionPolicy {
9696
private static final boolean ADAPTIVE_SIZE_USE_COST_ESTIMATORS = true;
9797
private static final int ADAPTIVE_SIZE_POLICY_INITIALIZING_STEPS = ADAPTIVE_SIZE_POLICY_READY_THRESHOLD;
9898
/** The minimum increase in throughput in percent for expanding a space by 1% of its size. */
99-
private static final double ADAPTIVE_SIZE_ESTIMATOR_MIN_SIZE_COST_TRADEOFF = 0.5;
99+
private static final double ADAPTIVE_SIZE_ESTIMATOR_MIN_SIZE_COST_TRADEOFF = 0.45;
100100
/** The effective number of most recent data points used by estimator (exponential decay). */
101101
private static final int ADAPTIVE_SIZE_COST_ESTIMATORS_HISTORY_LENGTH = 12;
102102
/** Threshold for triggering a complete collection after repeated minor collections. */

0 commit comments

Comments
 (0)