LWN.net Logo

Pauses

Pauses

Posted Sep 6, 2010 20:22 UTC (Mon) by Blaisorblade (guest, #25465)
In reply to: Pauses by i3839
Parent article: The Managed Runtime Initiative

> That's why I was talking about compilation stages, not optimisation
stages.
> I don't think you can free any significant amount of memory
between the latter ones, because you never know what may be needed
in the future.

Well, if no pointer exists to an object, there's no way somebody can use it. It seems you don't know what you're talking about.

> Even if you just replace multiple nodes with fewer ones you can't save much memory because of fragmentation

Fragmentation only exists in languages which don't support GC well (i.e., C). GC have been able to fix that for ages. Whether we have decent heuristics for handling it without using too much CPUs is an open issue, when that's a problem choosing the GC algorithm among the implemented ones is the best solution.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds