1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 14:10:28 -08:00

Move scan method from pool class to segment class.

Copied from Perforce
 Change: 193012
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2017-03-29 19:17:17 +01:00
parent de269de563
commit 1cb3265e80
21 changed files with 276 additions and 317 deletions

View file

@ -60,7 +60,6 @@ typedef struct mps_pool_class_s {
PoolBufferFillMethod bufferFill; /* out-of-line reserve */
PoolBufferEmptyMethod bufferEmpty; /* out-of-line commit */
PoolAccessMethod access; /* handles read/write accesses */
PoolScanMethod scan; /* find references during tracing */
PoolFixMethod fix; /* referent reachable during tracing */
PoolFixMethod fixEmergency; /* as fix, no failure allowed */
PoolRampBeginMethod rampBegin;/* begin a ramp pattern */
@ -227,6 +226,7 @@ typedef struct SegClassStruct {
SegWhitenMethod whiten; /* whiten objects */
SegGreyenMethod greyen; /* greyen non-white objects */
SegBlackenMethod blacken; /* blacken grey objects without scanning */
SegScanMethod scan; /* find references during tracing */
SegReclaimMethod reclaim; /* reclaim dead objects after tracing */
Sig sig; /* .class.end-sig */
} SegClassStruct;