1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00
emacs/mps/src/lo.h
Richard Brooksby 9dee5bc44b Merging mmdevel_restr2
Copied from Perforce
 Change: 15677
 ServerID: perforce.ravenbrook.com
1996-04-17 15:25:33 +01:00

44 lines
1.1 KiB
C

/* impl.h.lo
*
* LEAF OBJECT POOL CLASS
*
* $HopeName: MMsrc!lo.h(MMdevel_restr2.2) $
*
* Copyright (C) 1996 Harlequin Group, all rights reserved
*
* The Leaf Object PoolClass is an automatically managed (ie garbage
* collected) pool for managing "leaf" objects. Leaf objects are
* objects that have no references or no references that need tracing
* (ie the objects they refer too are non-moving and are manually
* managed).
*
* This Class has the following features:
*
* Approximately 6% (asymptotically) space overhead on managed objects.
*
* Automatically reclaims memory used by objects no longer reachable
* from the roots.
*
* Non-moving. References to objects in this pool will never change
* due to "fixing".
*
* Buffers will always "commit". When allocating using a buffer,
* commit will never fail.
*
* The following caveat applies:
*
* Space and time performance will degrade when fragmentation
* increases.
*
*/
#ifndef lo_h
#define lo_h
#include "mpm.h"
typedef struct LOStruct *LO;
extern PoolClass PoolClassLO(void);
#endif /* lo_h */