Garbage collection and MM
Posted Mar 8, 2007 10:55 UTC (Thu) by aanno
In reply to: Garbage collection and MM
Parent article: Short topics in memory management
I completly agree with you, mcn. Cache locality will probably never be fixed with
GC based languages. But as far as I understand, in many GC algorithms, there is
also a 'walker' that marks memory that is not reachable any more. It is a bad idea
to walk onto a swapped-out page, though.
And I could
imagine that this problem could be diminished. The paper
linked to takes this direction.
Even if GC based language will not predominate, they have to be taken into
account more than let's say 20 years ago. The fact that many Linux users don't
like Java or .NET will not make this langauges to disappear. And even if they
would, what's about Python, Ruby, Perl and the like?
GC is even mentioned in this discussion to be used within firefox (see above).
And I heart that the GCC suite also uses GC (beginning with version 3.0).
GC will always be problematic. But it is a thing that could be improved by
collaboration of kernel and user land knowledge. My point of view is that the
research of Hertz points to the right direction. I was interesting to read that this
sort of collaboration could also solve other MM related problems.
to post comments)