Skip to content

rts: Add missing write barrier in MVar wake-up paths

Ben Gamari requested to merge wip/T20399 into master

Previously PerformPut failed to respect the non-moving collector's snapshot invariant, hiding references to an MVar and its new value by overwriting a stack frame without dirtying the stack. Fix this.

PerformTake exhibited a similar bug.

Closes #20399 (closed).

Merge request reports