test_op_il_seq_point.sh now properly tests AOT compilation.
[mono.git] / mono / metadata / boehm-gc.c
index 090f2f7a1dc98e9296d02c829debb4cba317c11c..bbebb14a1d3b9a937e2e974717e44855d5b98ee0 100644 (file)
@@ -30,6 +30,7 @@
 #include <mono/utils/dtrace.h>
 #include <mono/utils/gc_wrapper.h>
 #include <mono/utils/mono-mutex.h>
+#include <mono/utils/mono-counters.h>
 
 #if HAVE_BOEHM_GC
 
@@ -78,6 +79,8 @@ mono_gc_base_init (void)
        if (gc_initialized)
                return;
 
+       mono_counters_init ();
+
        /*
         * Handle the case when we are called from a thread different from the main thread,
         * confusing libgc.