Re: Killing off scm_init_guile for Guile 2.0 ?

2009-01-16 Thread Ludovic Courtès
Hi! Neil Jerram neiljer...@googlemail.com writes: 2009/1/15 Neil Jerram neiljer...@googlemail.com: Thoughts? On the other hand, does moving to BDW-GC take a lot of this out of our hands anyway? From a quick look, it seems the answer to that is yes, and hence moving to BDW-GC will mean

Re: Killing off scm_init_guile for Guile 2.0 ?

2009-01-16 Thread Ludovic Courtès
Hi, Linas Vepstas linasveps...@gmail.com writes: So, the real question is -- how many existing guile apps call scm_init_guile()? The Evil Empire's Codesearch reveals that yes, a number of applications use it: http://google.com/codesearch?q=scm_init_guilehl=enbtnG=Search+Code This may be

Re: pthread crash on master

2009-01-16 Thread Greg Troxel
[2. application/octet-stream; 0001-Don-t-try-to-unlock-already-unlocked-heap-mutex.patch]... With that patch, make check runs successfully. log at http://autobuild.josefsson.org/guile/log-200901161104820417000.txt thanks for the fix. pgptHd2B37bCL.pgp Description: PGP signature

marking overhead, and on the cost of conditionals in hot code

2009-01-16 Thread Andy Wingo
I dropped into cachegrind, and it tells me thing about scm_gc_mark in a simple guile -c 1 run: . void . scm_gc_mark (SCM ptr) 794,344 { 155,170 = ???:0x00024917 (77585x) 198,586if (SCM_IMP (ptr)) . return; . 513,038if (SCM_GC_MARK_P (ptr)) .

Re: Killing off scm_init_guile for Guile 2.0 ?

2009-01-16 Thread Linas Vepstas
2009/1/16 dsm...@roadrunner.com: Neil Jerram neiljer...@googlemail.com wrote: scm_init_guile has always been a bit problematic, as it requires lots of heuristic and OS-dependent code to try to determine where the base of the stack is. It's never been formally deprecated, but we have