diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-04-23 12:35:40 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-04-23 22:48:43 -0400 |
commit | 9989cc67549b003db63c90f11b29d89f896323cb (patch) | |
tree | 42cfbd330658d77f2291c4e3297a4255909b9dbd /rts/sm/Storage.c | |
parent | 747093b7c23a1cf92b564eb3d9efe2adc15330df (diff) | |
download | haskell-wip/no-gc-spinlock.tar.gz |
rts: Eliminate GC spinlockwip/no-gc-spinlock
Diffstat (limited to 'rts/sm/Storage.c')
-rw-r--r-- | rts/sm/Storage.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index 49c367fa8d..1e8cfadbe0 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -174,12 +174,6 @@ initStorage (void) // Nonmoving heap uses oldest_gen so initialize it after initializing oldest_gen nonmovingInit(); -#if defined(THREADED_RTS) - // nonmovingAddCapabilities allocates segments, which requires taking the gc - // sync lock, so initialize it before nonmovingAddCapabilities - initSpinLock(&gc_alloc_block_sync); -#endif - if (RtsFlags.GcFlags.useNonmoving) nonmovingAddCapabilities(n_capabilities); |