This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
after gc hooks inconsistency...
- To: Guile Mailing List <guile at sourceware dot cygnus dot com>
- Subject: after gc hooks inconsistency...
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Mon, 26 Jun 2000 12:04:10 +0200 (MEST)
Hi!
While experimenting with cell access debugging, I realized the following
inconsistency between the handling of the scheme level after-gc-hook and
the C level scm_after_gc_c_hook:
The gc takes a short exit if (!scm_stack_base || scm_block_gc). However,
even if the short exit is taken, the scheme level after-gc-hook is run, in
contrast to the C level hook, which is only run after a full gc. (If
you'd like to verify this, you will have to know that the scheme level
hook is run indirectly via the scm_gc_async).
This seems to be a bug.
Best regards
Dirk