Chris Lyon's WebLog

Or How I Learned To Stop Worrying And Love The GC

The GC Test Team is Hiring!

Tired of the same old “garbage”? Do you want to be the tester for one of the most challenging...

Author: clyon Date: 03/23/2007

New In Orcas Part 3: GC Latency Modes

As you may know, there are different GC modes to choose from depending on the type of application...

Author: clyon Date: 03/12/2007

New In Orcas Part 2: GC Collection Modes

In Orcas we’ve added an overload to System.GC.Collect(): void System.GC.Collect(int generation,...

Author: clyon Date: 03/07/2007

New In Orcas Part 1: What we’ve been doing

The Orcas March CTP is out, and what does that mean for the Garbage Collector? The GC team has been...

Author: clyon Date: 03/06/2007

When GC.KeepAlive Doesn’t

The purpose of GC.KeepAlive(Object) is to tell the GC not to collect an object until a certain...

Author: clyon Date: 08/28/2006

WeakReferences And Tracking Resurrection

The WeakReference class has two public constructors. public WeakReference(Object target) public...

Author: clyon Date: 05/01/2006

Object Resurrection

I’m sure many of you have heard the term “object resurrection” with respect to the GC. It’s an...

Author: clyon Date: 04/25/2006

Why You Shouldn’t Rely On WeakReference.IsAlive

The WeakReference class has the property IsAlive. The problem with it, is that you can only trust it...

Author: clyon Date: 04/20/2006

New Dispose Guidelines

Joe Duffy has posted the revised Dispose, Finalization, and Resource Management Design Guideline....

Author: clyon Date: 04/14/2005

The Truth About GCHandles

I've heard several people asking why GCHandle doesn't implement IDisposable, considering it wraps an...

Author: clyon Date: 03/18/2005

Brian Talks About SafeHandles

A great post on the BCL Team Blog by Brian Grunkmeyer about SafeHandles. He explains in-depth the...

Author: clyon Date: 03/16/2005

How To Tell Which GC Mode Your Application Is Using

I posted previously about how to set the GC mode your application. So now that you’re running your...

Author: clyon Date: 02/04/2005

Part 2 in Maoni's Using GC Efficiently

Maoni posted Part 2 to Using the GC Efficiently. A very in-depth article about Server, Workstation...

Author: clyon Date: 09/27/2004

Demystifying Dispose

One commonly misunderstood feature is the relationship between disposable objects (Objects that...

Author: clyon Date: 09/21/2004

GCHandles, Boxing and Heap Corruption

A GCHandle is a struct used to hold onto a managed object to be used by unmanaged code. With a...

Author: clyon Date: 09/17/2004

I keep a GC folder in my Favorites full of links to articles and blog posts about the .NET GC. I...

Author: clyon Date: 09/14/2004

Server, Workstation and Concurrent GC

One common question I see asked is the differences between server and workstation GC, and how...

Author: clyon Date: 09/08/2004

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...

Author: clyon Date: 09/02/2004