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]

more gc stuff


Hello,

it looks as scm_gc_for_newcell is broken:  When gc is disabled via
scm_block_gc, scm_igc won't bring any new cells.  However, in this case
master->grow_heap_p won't be set also, because this flag is only set
within gc_sweep_freelist_finish, which is only called if gc is not
disabled.

The error does not become obvious as long as no gc is required while
scm_block_gc is 1.  Since gs is only blocked during initialization,
everything appears to be fine.

Am I missing something here, or should scm_gc_for_newcell be fixed to cope 
with the fact that the call to scm_igc does not make any new cells
available?

Best regards
Dirk


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