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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel