General Problems for GC'ed Applications?

Walter Bright newshound at digitalmars.com
Thu Jul 27 14:35:23 PDT 2006


Frits van Bommel wrote:
> One of the other cool thing this collector does IIRC: it tries to move 
> all objects out of a page that's scheduled to be swapped out if there's 
> space in other (memory resident) pages. If that's successful it then 
> tells the kernel to forget about saving the contents to disk since they 
> won't be needed anymore.

The GC can be improved if it can cooperate with/use the VM hardware. 
I've thought for some time that GC ought to be an OS system service for 
that reason, rather than an app library.



More information about the Digitalmars-d mailing list