This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

scm_cells_allocated


Can someone please explain to me why scm_cells_allocated is
incremented both in SCM_NEWCELL and after the sweep of a gc segment?

This way scm_cells_allocated gets a pretty fuzzy meaning:

It's A + Sum_{i = 1}^A N_i where A is the number of cells allocated
since boot and N_i is the number of times cell i has experienced a GC
during its life.

Really weird...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]