1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00

Move arenadefaultzoneset to be adjacent to its todo.

Add comments for ArenaDefaultZONESET and LocusPrefDEFAULT.

Copied from Perforce
 Change: 188237
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2015-09-04 15:24:14 +01:00
parent 465741d892
commit b43a56f9b5

View file

@ -406,8 +406,6 @@
#define ARENA_DEFAULT_ZONED TRUE
#define ArenaDefaultZONESET (ZoneSetUNIV << (MPS_WORD_WIDTH / 2))
/* ARENA_MINIMUM_COLLECTABLE_SIZE is the minimum size (in bytes) of
* collectable memory that might be considered worthwhile to run a
* full garbage collection. */
@ -431,9 +429,16 @@
#define ARENA_MAX_COLLECT_FRACTION (0.1)
/* TODO: This is left over from before the branch/2014-01-29/mps-chain-zones
and 2014-01-17/cbs-tract-alloc reformed allocation, and may now be doing
more harm than good. Experiment with setting to ZoneSetUNIV. */
/* ArenaDefaultZONESET is the zone set used by LocusPrefDEFAULT.
*
* TODO: This is left over from before branches 2014-01-29/mps-chain-zones
* and 2014-01-17/cbs-tract-alloc reformed allocation, and may now be
* doing more harm than good. Experiment with setting to ZoneSetUNIV. */
#define ArenaDefaultZONESET (ZoneSetUNIV << (MPS_WORD_WIDTH / 2))
/* LocusPrefDEFAULT is the allocation preference used by manual pool
* classes (these don't care where they allocate). */
#define LocusPrefDEFAULT { \
LocusPrefSig, /* sig */ \