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

Represent the set of generations condemned for a trace.

Eliminate duplication between policyCondemnChain and traceCondemnAll.
Compute better mortality estimate for collection of the world.

Copied from Perforce
 Change: 194611
This commit is contained in:
Gareth Rees 2018-07-11 21:14:43 +01:00
parent 344d0b8e94
commit c3fd9d5ba7
7 changed files with 181 additions and 231 deletions

View file

@ -434,7 +434,7 @@ typedef struct TraceStruct {
Bool firstStretch; /* in first stretch of band (see accessor) */
SegFixMethod fix; /* fix method to apply to references */
void *fixClosure; /* see .ss.fix-closure */
Chain chain; /* chain being incrementally collected */
RingStruct genRing; /* ring of generations condemned by trace */
STATISTIC_DECL(Size preTraceArenaReserved) /* ArenaReserved before this trace */
Size condemned; /* condemned bytes */
Size notCondemned; /* collectable but not condemned */