how do you guys use Boehm with gtk?
I've tried pretty hard in the past to come up with a combination of gtk and Boehm that works, but I never got stable results. I'm really curious what combination of Boehm features and glib/gtk features you are using?
I guess that since you don't require specially built glib/gtk you aren't using the allocator specifiers or build-time allocation settings of glib? Perhaps you use Boehm only for your own glib-independent memory pools?
One of my dreams is to have a nice garbage-collected C development setup, but it seems to require every library to be rebuilt of LD_PRELOAD'ed in some tricky way... I'd love to know roughly what you've done.
Thanks, Britton
2010/4/12 Britton Kerin <britton.kerin@...400...>:
I've tried pretty hard in the past to come up with a combination of gtk and Boehm that works, but I never got stable results. I'm really curious what combination of Boehm features and glib/gtk features you are using?
Boehm does not replace malloc() in our code. GC_malloc() is called explicitly for certain types of objects, like the XML tree and rendering tree objects, usually through an overloaded operator new. It is not possible to use Boehm to manage GTK objects.
Regards, Krzysztof
participants (2)
-
Britton Kerin
-
Krzysztof Kosiński