Chris Lyon's WebLog

Or How I Learned To Stop Worrying And Love The GC

April, 2006

  • Chris Lyon's WebLog

    Object Resurrection

    • 3 Comments
    I’m sure many of you have heard the term “object resurrection” with respect to the GC. It’s an interesting (but not very useful) way to illustrate object lifetimes and the role of finalization versus garbage collection. Basically, it’s a way to reference...
  • Chris Lyon's WebLog

    Why You Shouldn’t Rely On WeakReference.IsAlive

    • 5 Comments
    The WeakReference class has the property IsAlive. The problem with it, is that you can only trust it if it returns false. While a WeakReference points to an object that is either live (reachable), or garbage (unreachable) that has not yet been collected...
Page 1 of 1 (2 items)