mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-18 03:40:47 -08:00
Added more control over write barrier. in particular separated scans after a hit.
Copied from Perforce Change: 186988 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
46d723c9dc
commit
b4460043e6
4 changed files with 21 additions and 13 deletions
|
|
@ -285,6 +285,7 @@ typedef struct SegStruct { /* segment structure */
|
|||
TraceSet white : TraceLIMIT; /* traces for which seg is white */
|
||||
TraceSet nailed : TraceLIMIT; /* traces for which seg has nailed objects */
|
||||
RankSet rankSet : RankLIMIT; /* ranks of references in this seg */
|
||||
unsigned scans : SEG_SCANS_BITS; /* use write barrier after this many scans */
|
||||
} SegStruct;
|
||||
|
||||
|
||||
|
|
@ -300,7 +301,6 @@ typedef struct GCSegStruct { /* GC segment structure */
|
|||
RingStruct greyRing; /* link in list of grey segs */
|
||||
RefSet summary; /* summary of references out of seg */
|
||||
Buffer buffer; /* non-NULL if seg is buffered */
|
||||
unsigned unnecessaryScans; /* consecutive unnecessary scans performed */
|
||||
Sig sig; /* <design/sig/> */
|
||||
} GCSegStruct;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue