Skip to content
  • GHC GitLab CI's avatar
    3e75b0db
    ThreadPaused: Don't zero slop until free vars are pushed · 3e75b0db
    GHC GitLab CI authored and Ben Gamari's avatar Ben Gamari committed
    When threadPaused blackholes a thunk it calls `OVERWRITING_CLOSURE` to
    zero the slop for the benefit of the sanity checker. Previously this was
    done *before* pushing the thunk's free variables to the update
    remembered set. Consequently we would pull zero'd pointers to the update
    remembered set.
    3e75b0db
    ThreadPaused: Don't zero slop until free vars are pushed
    GHC GitLab CI authored and Ben Gamari's avatar Ben Gamari committed
    When threadPaused blackholes a thunk it calls `OVERWRITING_CLOSURE` to
    zero the slop for the benefit of the sanity checker. Previously this was
    done *before* pushing the thunk's free variables to the update
    remembered set. Consequently we would pull zero'd pointers to the update
    remembered set.
Loading