News for hackers. Stuff that matters.
Re:How the Boehm Garbage Collector Works by rayiner on Saturday February 11, 2012 @05:05PM (#3580312)
No, you have to verify that your libraries don't keep disguised pointers to objects you allocated via the GC, that you don't yourself keep pointers to. It's quite unusual in C to give a reference to an object to another piece of code then drop all the pointers to it that you hold, because the usual discipline is that the module that allocates an object frees it.
Re:How the Boehm Garbage Collector Works by reitblatt on Saturday February 11, 2012 @05:14PM (#3580330)
Not if you build the GC with --enable-redirect-malloc to use with existing libraries/code bases. Which should be fine because, after all, this is a "conservative" garbage collector. Right?