mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
Add a statistic for tracking how many cells are marked conservatively.
This allows an informed choice for deciding how many segments to create. After startup, ~2% of the cells are scanned conservatively.
This commit is contained in:
parent
82ae1b8eb3
commit
40945e5e9f
5 changed files with 12 additions and 3 deletions
|
@ -44,6 +44,7 @@ scm_i_get_new_heap_segment (scm_t_cell_type_statistics *freelist,
|
|||
if (len < SCM_MIN_HEAP_SEG_SIZE)
|
||||
len = SCM_MIN_HEAP_SEG_SIZE;
|
||||
|
||||
/* todo: consider having a more flexible lower bound. */
|
||||
{
|
||||
scm_t_heap_segment *seg = scm_i_make_empty_heap_segment (freelist);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue