From 723095b0e4c5838c7eefd757af56ab2a7c614801 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Thu, 29 May 2014 20:05:51 -0700 Subject: Per-capability nursery weak pointer lists, fixes #9075 Signed-off-by: Edward Z. Yang --- rts/Capability.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rts/Capability.c') diff --git a/rts/Capability.c b/rts/Capability.c index 16b71b7045..805a35be9f 100644 --- a/rts/Capability.c +++ b/rts/Capability.c @@ -273,6 +273,8 @@ initCapability( Capability *cap, nat i ) cap->mut_lists[g] = NULL; } + cap->weak_ptr_list_hd = NULL; + cap->weak_ptr_list_tl = NULL; cap->free_tvar_watch_queues = END_STM_WATCH_QUEUE; cap->free_invariant_check_queues = END_INVARIANT_CHECK_QUEUE; cap->free_trec_chunks = END_STM_CHUNK_LIST; -- cgit v1.2.1