Optimization for takeMVar/putMVar when MVar left empty; fixes #7923
We only need to apply the write barrier to an MVar when it acquires a reference to live data; when the MVar is left empty in the case of a takeMVar/putMVar, we can save a memory reference. Patch from Edward Z. Yang.
-
mentioned in merge request !4460 (closed)
-
mentioned in issue #18919 (closed)
Please register or sign in to comment