Fix a rare parallel GC bug

Authored by simonmar.

Description

Fix a rare parallel GC bug

When there's a conflict between two threads evacuating the same TSO,
in some cases we would update the incall->tso pointer to point to the
wrong copy of the TSO. This would get fixed during the next GC, but
if the thread completed in the meantime, it would likely crash. We're
seeing this about once per day on a heavily loaded machine (it varies
a lot though).

Details

Auditors
austin
Committed
simonmarOct 23 2014, 5:12 AM
Parents
rGHCaa641e514821: Add forgotten import to T9692
Branches
Unknown
Tags
Unknown
Build Status
Buildable 1356
Build 1362: GHC Continuous Integration (amd64/Linux)
hvr added auditors: austin.EditedOct 24 2014, 3:15 AM
hvr added a subscriber: hvr.

would this be candidate for 7.8.4?

(if so, a Trac ticket would be in order IMO)

austin accepted this commit.Oct 27 2014, 1:36 PM
austin added a subscriber: austin.

This was merged into GHC 7.8.4