Revise GC asserts.
* libguile/gc.c (scm_i_gc): Change assert into printed warning. * libguile/private-gc.h (nil): introduce scm_i_last_marked_cell_count, as a private mechanism for maintaining cell counts. Remove variable scm_cells_allocated.
This commit is contained in:
parent
b48efb55b0
commit
b71c8ec90a
3 changed files with 17 additions and 9 deletions
|
|
@ -287,7 +287,6 @@ SCM_API struct scm_t_cell_type_statistics scm_i_master_freelist;
|
|||
SCM_API struct scm_t_cell_type_statistics scm_i_master_freelist2;
|
||||
|
||||
SCM_API unsigned long scm_gc_malloc_collected;
|
||||
SCM_API unsigned long scm_cells_allocated;
|
||||
SCM_API int scm_gc_malloc_yield_percentage;
|
||||
SCM_API unsigned long scm_mallocated;
|
||||
SCM_API unsigned long scm_mtrigger;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue