mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-26 00:34:17 -07:00
Add a check that the flipped trace was not already flipped.
Copied from Perforce Change: 194006
This commit is contained in:
parent
01baf3cfda
commit
3ab83fd7db
1 changed files with 4 additions and 2 deletions
|
|
@ -1249,10 +1249,12 @@ static void mutatorSegFlip(Seg seg, Trace trace)
|
|||
|
||||
NextMethod(Seg, MutatorSeg, flip)(seg, trace);
|
||||
|
||||
/* Raise the read barrier if the segment was not grey for any
|
||||
currently flipped trace. */
|
||||
arena = PoolArena(SegPool(seg));
|
||||
flippedTraces = arena->flippedTraces;
|
||||
AVER(!TraceSetIsMember(flippedTraces, trace));
|
||||
|
||||
/* Raise the read barrier if the segment was not grey for any
|
||||
currently flipped trace. */
|
||||
if (TraceSetInter(SegGrey(seg), flippedTraces) == TraceSetEMPTY) {
|
||||
ShieldRaise(arena, seg, AccessREAD);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue