]> git.llucax.com Git - software/dgc/cdgc.git/blobdiff - rt/gc/cdgc/opts.d
Don't leak weak pointers
[software/dgc/cdgc.git] / rt / gc / cdgc / opts.d
index 1ec5d974c6c95394a28b0163f942b89da3c88973..01ac964692623d2cee4bcb48f4bc8ac9f90d77de 100644 (file)
@@ -55,7 +55,10 @@ struct Options
     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;