From 7349d12e9614de32294a5a61570530e9442077c3 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 28 Sep 2017 21:48:43 +0200 Subject: GC v2 works sometimes --- compiler/nim.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/nim.nim') diff --git a/compiler/nim.nim b/compiler/nim.nim index 56885e9f1..89225a5e0 100644 --- a/compiler/nim.nim +++ b/compiler/nim.nim @@ -119,4 +119,6 @@ condsyms.initDefines() when not defined(selftest): handleCmdLine(newIdentCache(), newConfigRef()) + when declared(GC_setMaxPause): + echo GC_getStatistics() msgQuit(int8(msgs.gErrorCounter > 0)) -- cgit 1.4.1-2-gfad0