projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4603b94
)
small rearrangement
author
simonmar@microsoft.com
<unknown>
Tue, 15 Jan 2008 09:57:36 +0000
(09:57 +0000)
committer
simonmar@microsoft.com
<unknown>
Tue, 15 Jan 2008 09:57:36 +0000
(09:57 +0000)
rts/sm/GC.c
patch
|
blob
|
history
diff --git
a/rts/sm/GC.c
b/rts/sm/GC.c
index
6510e77
..
fe26cf9
100644
(file)
--- 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();