[fpc-devel] Improving Ref Counting

Olle Raab olle.r at automagika.se
Sun Feb 27 14:12:29 CET 2005


05-02-27 13.47, skrev Uberto Barbini följande:

>> A GC needs to trace an object's references to see if anything still
>> points to it. How else can it decide whether an object is no longer in use?
> 
> Yes, this is right, but it hasn't to decide if reference are valid or invalid.
> Moreover also the simpliest GC techniques (mark'n'swift) are quite slow and
> are usually running in a low priority thread in background.

Afaik the simplest GC's need to have exclusive access to the heap and stack,
so it cant be run in parallell with ordinary processing.

Olle 





More information about the fpc-devel mailing list