Hallo, On Thu, Sep 29, 2011 at 10:25 PM, Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> wrote: > > The pattern is to allocate some space on the stack, fill stuff in, > eventually jump to the continuation. GC will only happen during the > jump, not within the time between allocation and assignment of initial > values. (Beware: It's my reading of source!) >
As I remember, at every entry point of the generated C functions there is a test for the height of the C stack so far. If the size (height * sizeof(C_word)) is bigger than the current nursery size, a GC occurs. At every other point alloca is supposed to succeed. -- -alex http://www.artisancoder.com/ _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users