Welcome to MSDN Blogs Sign in | Join | Help

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.

Published Thursday, September 02, 2004 2:33 PM by clyon
Filed under:

Comments

# re: A New GC Blog

Thursday, September 02, 2004 3:23 PM by John Bristowe
Would you mind covering the large object heap (gmheap)? TIA!

# re: A New GC Blog

Thursday, September 02, 2004 4:09 PM by Ken Cox [MVP]
Hey Chris!

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

Ken
MVP [ASP.NET]
Toronto (Leaside)

# re: A New GC Blog

Thursday, September 02, 2004 2:40 PM by Chris Lyon
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.

# re: A New GC Blog

Friday, September 03, 2004 5:24 AM by Dennis Homann
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.

# re: A New GC Blog

Tuesday, September 07, 2004 12:18 PM by Chris Lyon
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.

# Chris Lyon s WebLog A New GC Blog | Paid Surveys

Thursday, May 28, 2009 7:30 PM by Chris Lyon s WebLog A New GC Blog | Paid Surveys
Anonymous comments are disabled
 
Page view tracker