summaryrefslogtreecommitdiff
path: root/rts/Weak.c
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-01-20 11:50:50 -0500
committerBen Gamari <ben@smart-cactus.org>2021-01-21 11:02:19 -0500
commit94f5710518c82f729938c5f19360145c404d5767 (patch)
tree55add58fe00503046fdbae53763295789250dc3f /rts/Weak.c
parent9eeeb85eb3c29519c3fdfdaeb5ed659b50c6bcea (diff)
downloadhaskell-wip/gc/nonmoving-pinned-b.tar.gz
rts: Use non-moving collector for pinned allocations while using moving collectorwip/gc/nonmoving-pinned-b
Diffstat (limited to 'rts/Weak.c')
-rw-r--r--rts/Weak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Weak.c b/rts/Weak.c
index 0adf5a8b92..82c5c146e9 100644
--- a/rts/Weak.c
+++ b/rts/Weak.c
@@ -95,7 +95,7 @@ scheduleFinalizers(Capability *cap, StgWeak *list)
// n_finalizers is not necessarily zero under non-moving collection
// because non-moving collector does not wait for the list to be consumed
// (by doIdleGcWork()) before appending the list with more finalizers.
- ASSERT(RtsFlags.GcFlags.useNonmoving || SEQ_CST_LOAD(&n_finalizers) == 0);
+ ASSERT(RtsFlags.GcFlags.concurrentNonmoving || SEQ_CST_LOAD(&n_finalizers) == 0);
// Append finalizer_list with the new list. TODO: Perhaps cache tail of the
// list for faster append. NOTE: We can't append `list` here! Otherwise we