[fpc-devel] Boehm garbage collector for freepascal

Michael Schnell mschnell at lumino.de
Thu Nov 18 14:08:38 CET 2010

On 11/18/2010 08:05 AM, Thaddy wrote:
> To summarize: what you write/propose is already in there :)
OK, great, its there, but how to get it _here_ ?

To make it useful FPC would need some the appropriate keywords (such as 
"GarbageControlled") for creating this type of variables, and it would 
need to use them in a double-indirect way (or use a function call into 
the garbage-control-RTL when creating and dumping these variables to 
make them known) to allow for the Garbage Collector to do it's work 
while the program is temporarily stalled.
> I have rather good initial results with it, even compiling 
> medium/large Freepascal projects with it, f.e. fpGUI and fpGUI 
> designer ;-) :-)
Sounds good so far.

More information about the fpc-devel mailing list