diff options
author | Simon Marlow <marlowsd@gmail.com> | 2015-07-07 08:52:53 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2015-07-07 15:07:49 +0100 |
commit | ebfc2fb884764eae65df4c5da68d2ad5aaa7b95a (patch) | |
tree | 65cc7d641a755983be26aec002d12cb65f51f654 /rts/sm/Scav.c | |
parent | 62fcf0515112b918152dd8bf053f84d9ec0d1501 (diff) | |
download | haskell-ebfc2fb884764eae65df4c5da68d2ad5aaa7b95a.tar.gz |
Update comments around blackholes
Test Plan: validate
Reviewers: austin, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1047
Diffstat (limited to 'rts/sm/Scav.c')
-rw-r--r-- | rts/sm/Scav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c index 781840cbae..a8f0ab037f 100644 --- a/rts/sm/Scav.c +++ b/rts/sm/Scav.c @@ -1807,6 +1807,7 @@ scavenge_stack(StgPtr p, StgPtr stack_end) switch (info->i.type) { case UPDATE_FRAME: + // Note [upd-black-hole] // In SMP, we can get update frames that point to indirections // when two threads evaluate the same thunk. We do attempt to // discover this situation in threadPaused(), but it's @@ -1832,7 +1833,6 @@ scavenge_stack(StgPtr p, StgPtr stack_end) // compulsory (otherwise we would have to check for thunks // too). // - // Note [upd-black-hole] // One slight hiccup is that the THUNK_SELECTOR machinery can // overwrite the updatee with an IND. In parallel GC, this // could even be happening concurrently, so we can't check for |