> > Thats a possibility, but then you do not win anything by running it in a
> > thread. It could as well be run when a memory allocation is done, and then
> > as a subroutine.
> 
> No, because the background thread get more time slices during idle moments 
> and 
> none at all during intense computations.
> GC have to release the control as fast as possible and be able to resume the 
> job where it left it.

It can also compact generations that are not in the current working set.
 

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to