When compiling the GC with a compiler that doesn't provide PointerMap
information, the conservative option defaults to true, as most likely the
GC will be used with programs compiled with the same compiler and all data
will be scanned conservatively anyway.
char[MAX_OPT_LEN] collect_stats_file = "";
bool sentinel = false;
bool mem_stomp = false;
char[MAX_OPT_LEN] collect_stats_file = "";
bool sentinel = false;
bool mem_stomp = false;
- bool conservative = false;
+ version (D_HavePointerMap)
+ bool conservative = false;
+ else
+ bool conservative = true;
bool fork = true;
bool eager_alloc = true;
bool early_collect = false;
bool fork = true;
bool eager_alloc = true;
bool early_collect = false;