Commit d85a0aae by Kaveh R. Ghazi Committed by Kaveh Ghazi

ggc-common.c (init_ggc_heuristics): Don't use the heuristics when gc checking is enabled.

	* ggc-common.c (init_ggc_heuristics): Don't use the heuristics
	when gc checking is enabled.

From-SVN: r71137
parent 03845b47
2003-09-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ggc-common.c (init_ggc_heuristics): Don't use the heuristics
when gc checking is enabled.
2003-09-06 Steven Bosscher <steven@gcc.gnu.org> 2003-09-06 Steven Bosscher <steven@gcc.gnu.org>
PR c/9862 PR c/9862
......
...@@ -753,7 +753,7 @@ ggc_min_heapsize_heuristic (void) ...@@ -753,7 +753,7 @@ ggc_min_heapsize_heuristic (void)
void void
init_ggc_heuristics (void) init_ggc_heuristics (void)
{ {
#ifndef ENABLE_GC_ALWAYS_COLLECT #if !defined ENABLE_GC_CHECKING && !defined ENABLE_GC_ALWAYS_COLLECT
set_param_value ("ggc-min-expand", ggc_min_expand_heuristic()); set_param_value ("ggc-min-expand", ggc_min_expand_heuristic());
set_param_value ("ggc-min-heapsize", ggc_min_heapsize_heuristic()); set_param_value ("ggc-min-heapsize", ggc_min_heapsize_heuristic());
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment