summaryrefslogtreecommitdiff
path: root/rts/sm/GC.c
diff options
context:
space:
mode:
authorTakano Akio <aljee@hyper.cx>2013-03-11 18:51:05 +0900
committerIan Lynagh <ian@well-typed.com>2013-06-15 16:41:02 +0100
commitfe652a8b56c864167ecf1fac899bb3d99363dfcf (patch)
tree888acad55c4cc1a9eee790f0c5404feed34c5fec /rts/sm/GC.c
parent6770663f764db76dbb7138ccb3aea0527d194151 (diff)
downloadhaskell-fe652a8b56c864167ecf1fac899bb3d99363dfcf.tar.gz
Maintain per-generation lists of weak pointers (#7847)
Diffstat (limited to 'rts/sm/GC.c')
-rw-r--r--rts/sm/GC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index ddb538472f..28593f5c71 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -699,7 +699,7 @@ GarbageCollect (nat collect_gen,
// Start any pending finalizers. Must be after
// updateStableTables() and stableUnlock() (see #4221).
RELEASE_SM_LOCK;
- scheduleFinalizers(cap, old_weak_ptr_list);
+ scheduleFinalizers(cap, dead_weak_ptr_list);
ACQUIRE_SM_LOCK;
// check sanity after GC