[Issue 2858] D specs allow GC implementations that don't call finalizers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 19 18:07:06 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2858





------- Comment #7 from llucax at gmail.com  2009-04-19 20:07 -------
(In reply to comment #3)
> SDWF tries to get around this by running a collection if creation of a GDI
> object fails, in case it frees some system resources in order to try again. 
> But maybe what we really need is some kind of monitoring system.  How does
> DMD's GC decide when to run, anyway?

Collection is triggered by gc_malloc() when no free space can be found.


-- 



More information about the Digitalmars-d-bugs mailing list