diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-05-17 11:42:11 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-10-22 12:20:46 -0400 |
commit | 116e4646f90178cd9f5c7d713074c1a049433134 (patch) | |
tree | 337e28a3312fdbde6150592cc5b5dfe5e7e9a5a7 /includes | |
parent | 5b130b3d9d69f23d868765e97fb20d3afa6a6732 (diff) | |
download | haskell-116e4646f90178cd9f5c7d713074c1a049433134.tar.gz |
NonMoving: Add summarizing Notewip/gc/docs
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/storage/TSO.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/rts/storage/TSO.h b/includes/rts/storage/TSO.h index 070ecbebaa..d706282796 100644 --- a/includes/rts/storage/TSO.h +++ b/includes/rts/storage/TSO.h @@ -231,6 +231,9 @@ typedef struct StgTSO_ { * setting the stack's mark bit (either the BF_MARKED bit for large objects * or otherwise its bit in its segment's mark bitmap). * + * To ensure that mutation does not proceed until the stack is fully marked the + * mark phase must not set the mark bit until it has finished tracing. + * */ #define STACK_DIRTY 1 |