Commit 4b123ceb authored by simonmarhaskell@gmail.com's avatar simonmarhaskell@gmail.com
Browse files

in scavenge_block1(), we can use the lock-free recordMutableGen()

parent 902be381
......@@ -17,6 +17,7 @@
#ifndef PARALLEL_GC
#define scavenge_block(a,b) scavenge_block1(a,b)
#define evacuate(a) evacuate1(a)
#define recordMutableGen_GC(a,b) recordMutableGen(a,b)
#else
#undef scavenge_block
#undef evacuate
......@@ -452,3 +453,4 @@ scavenge_block (bdescr *bd, StgPtr scan)
#undef scavenge_block
#undef evacuate
#undef recordMutableGen_GC
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment