about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-19T19·10+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-19T19·10+0100
commitb005e63ccf387add426aa9941ab9f5770307fe33 (patch)
tree95fcc983ad6bdfac30469579fab77ef2f2014de3
parent726f7f7fc92f4914bca450a37b8b85b1018afc01 (diff)
Disable scanning for interior pointers
This may remove the "Repeated allocation of very large block"
warnings.
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index a3e2a0add984..db135844e5b7 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -199,6 +199,8 @@ void initGC()
 
 #if HAVE_BOEHMGC
     /* Initialise the Boehm garbage collector. */
+    GC_set_all_interior_pointers(0);
+
     GC_INIT();
 
     GC_oom_fn = oomHandler;