[Git][ghc/ghc][wip/T22264-9.2] Nonconcurrent sweep

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Thu Nov 3 00:45:52 UTC 2022



Ben Gamari pushed to branch wip/T22264-9.2 at Glasgow Haskell Compiler / GHC


Commits:
4b09bd5b by Ben Gamari at 2022-10-23T00:12:23-04:00
Nonconcurrent sweep

- - - - -


1 changed file:

- rts/sm/NonMoving.c


Changes:

=====================================
rts/sm/NonMoving.c
=====================================
@@ -29,7 +29,10 @@
 #include "Sanity.h"
 #include "Weak.h" // scheduleFinalizers
 
-#define NONCONCURRENT_SWEEP
+#if defined(DEBUG) && defined(THREADED_RTS)
+// Enable serial sweeping for ease of debugging
+//#define NONCONCURRENT_SWEEP
+#endif
 
 struct NonmovingHeap nonmovingHeap;
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4b09bd5bdebe32ce864286f19d6c78f7ebc6faf1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4b09bd5bdebe32ce864286f19d6c78f7ebc6faf1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221102/f433f7d5/attachment.html>


More information about the ghc-commits mailing list