A New GC Blog

Hi!  My name is Chris Lyon, and I'm a tester for the .NET Garbage Collector.  The GC is one of the least-understood components of the CLR, and I hope to try to help our customers better understand it.

Topics I hope to cover:

  • General overview of how the GC works
  • Finalization
  • GC-related APIs (System.GC, System.Weakreference, GCHandle, etc)
  • Common GC misconceptions
  • GC-related guidelines

Any topic suggestions are welcome, so feel free to leave them in the comments.

About me:

I grew up in Caledon, Ontario, Canada (a suburb of a suburb of Toronto).  I graduated from the University of Waterloo, Canada in December 2002 and have been working at Microsoft since April 2003.

Comments (6)
  1. Chris Lyon says:

    Thanks Ken, it’s good to be here!

    John, good call. The LOH is another source of confusion. I’ll add it to my list.

  2. Would you mind covering the large object heap (gmheap)? TIA!

  3. Hey Chris!

    Good to see another Canadian making U.S. money to send home! <grin>



    Toronto (Leaside)

  4. Dennis Homann says:

    Hi Chris,

    what would you suggest to implement something like the ReferenceQueue in Java?

    WeakReferences can be registered with a ReferenceQueue when they are created. The GC adds a weak reference to its associated ReferenceQueue when its target is collected. The queue can then be polled to perform any further clean up. As far as I know there is no similar concept in .NET, right? I have to remember all WeakReferences I ever created and check them regularly, if additional clean up is necessary.

    Thanks for any hints.

  5. Chris Lyon says:

    Hi Dennis

    Thanks for the suggestion.

    I’m not too familiar with ReferenceQueue, but I’ll certainly look into it and get back to you.

Comments are closed.

Skip to main content