General Problems for GC'ed Applications?

Sean Kelly sean at f4.ca
Thu Jul 27 14:40:55 PDT 2006


Walter Bright wrote:
> 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.

Same here.  Between thread scheduling and memory management, having the 
GC as an OS service seems a natural fit.  I'll admit to being somewhat 
curious about whether MS tries this to improve .NET performance.


Sean



More information about the Digitalmars-d mailing list