X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGC.c;h=fe26cf9e531849f0acf54d9dbd46f7dd8429a0a7;hb=15b6daa6d8e35e34ad077049c1f76d9f5966be9a;hp=6510e777983218214fd5366c8fa71e07ded08db6;hpb=d07d5ed880e6f4529c2331a5d5a963505d884dd9;p=ghc-hetmet.git diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 6510e77..fe26cf9 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -207,12 +207,12 @@ GarbageCollect ( rtsBool force_major_gc ) } #endif - // tell the STM to discard any cached closures it's hoping to re-use - stmPreGCHook(); - // tell the stats department that we've started a GC stat_startGC(); + // tell the STM to discard any cached closures it's hoping to re-use + stmPreGCHook(); + #ifdef DEBUG // check for memory leaks if DEBUG is on memInventory();