diff options
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gcc/params.def b/gcc/params.def index 1b3105556b2..f65469081fd 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -138,7 +138,7 @@ DEFPARAM(PARAM_MAX_GCSE_MEMORY, "max-gcse-memory", "The maximum amount of memory to be allocated by GCSE", 50 * 1024 * 1024) -/* The number of repetitions of copy/const prop and PRE to run. */ +/* The number of repetitions of copy/const prop and PRE to run. */ DEFPARAM(PARAM_MAX_GCSE_PASSES, "max-gcse-passes", "The maximum number of passes to make when doing GCSE", @@ -190,6 +190,26 @@ DEFPARAM(TRACER_MIN_BRANCH_PROBABILITY, "Stop forward growth if the probability of best edge is less than \ this threshold (in percents). Used when profile feedback is not available", 50) + +#ifdef ENABLE_GC_ALWAYS_COLLECT +# define GGC_MIN_EXPAND_DEFAULT 0 +#else +# define GGC_MIN_EXPAND_DEFAULT 30 +#endif + +DEFPARAM(GGC_MIN_EXPAND, + "ggc-min-expand", + "Minimum heap expansion to trigger garbage collection, as \ +a percentage of the total size of the heap.", + GGC_MIN_EXPAND_DEFAULT) + +#undef GGC_MIN_EXPAND_DEFAULT + +DEFPARAM(GGC_MIN_HEAPSIZE, + "ggc-min-heapsize", + "Minimum heap size before we start collecting garbage, in kilobytes.", + 4096) + /* Local variables: mode:c |