1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00

Add a high water marker counter for shield caches

Copied from Perforce
 Change: 19349
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Tony Mann 1998-03-03 17:16:59 +00:00
parent b8d2fd10cf
commit 4e4eb097c9

View file

@ -1,6 +1,6 @@
/* impl.h.mpmst: MEMORY POOL MANAGER DATA STRUCTURES
*
* $HopeName: MMsrc!mpmst.h(trunk.50) $
* $HopeName: MMsrc!mpmst.h(trunk.51) $
* Copyright (C) 1997 The Harlequin Group Limited. All rights reserved.
*
* .readership: MM developers.
@ -639,6 +639,7 @@ typedef struct ArenaStruct {
Bool insideShield; /* TRUE if and only if inside shield */
Seg shCache[SHIELD_CACHE_SIZE];/* Cache of unsynced segs */
Size shCacheI; /* index into cache */
Size shCacheLimit; /* High water mark for cache usage */
Size shDepth; /* sum of depths of all segs */
Bool suspended; /* TRUE if and only if mutator suspended */