Welcome to MSDN Blogs Sign in | Join | Help

Maoni's WebLog

CLR Garbage Collector
Check out the CLR Lead Architect's New Blog

Many people know Patrick Dussud by his outstanding work on Garbage Collection. But did you know he was one of the founders of the CLR? In his intro blog entry he talks about how the CLR came to life. I am sure it will be a great read for those of you who are curious about it.

Posted: Wednesday, November 22, 2006 12:38 PM by maoni
Filed under:

Comments

Sam Gentile said:

I thought Thanksgiving morning is for adults to be sleeping in. Instead, not only are the kids up at

# November 23, 2006 10:11 AM

Alois Kraus said:

Hi,

I was just wondering why the garbage collector does stop finalizing when you take a lock inside a finlizer which you do not own.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=954304&SiteID=1

Is this the expected behaviour or a non conformity?

Could you elaborate a bit the cooperation of the GC and locks inside finalizers?

Yours,

 Alois Kraus

# November 24, 2006 3:34 AM

maoni said:

Alois, first of all it's not GC that "does stop finalizing" - GC doesn't run finalizers, it just tells the finalizer thread if there are finalizers to run and the finalizer thread runs them. It's up to the runtime policy to decide whether to abort the finalizers or wait infinite. Currently the runtime policy is to wait infinitely for finalizers during appdomain unload and wait for certain number of seconds total during process shutdown (and for each finalizer there's also a timeout value).

You can change the timeout for AD unload and shutdown via hosting interface ICLRPolicyManager.

# November 27, 2006 6:41 PM

markovich said:

Is this the expected behaviour or a non conformity?

# October 6, 2007 4:55 PM

Sam Gentile's Blog said:

I thought Thanksgiving morning is for adults to be sleeping in. Instead, not only are the kids up at the crack at dawn but one (the eight year old) is playing games on Vista and asking for Starbucks, while the nearly 4 year old is clamoring for princess

# December 3, 2008 1:20 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker