java.util.LinkedList clear() improvement
martinrb at google.com
Thu Aug 27 10:27:56 PDT 2009
On Thu, Aug 27, 2009 at 10:23, Guy Korland<gkorland at gmail.com> wrote:
> First I don't think this is the same issue, in the clear case, there's
> no reference from the root to any of the entries.
> Second as I know any MarkAndSweep GC should not suffer from such issue.
> Since the sweep phase should collect any unreachable entry no matter
> how many dead references point to it.
See my just posted email - unlinking dead older possibly tenured nodes
has been known to speedup real apps by a factor of two by
changing full gcs into young gen gcs.
More information about the core-libs-dev