<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx</link><description>Certainly that’s one of the most frequently asked questions I get (at the PDC too!). So since PDC already happened I can tell the rest of you about the new stuff happened in GC in CLR 2.0. The slides can be downloaded here . And I will be referring to</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#476756</link><pubDate>Tue, 04 Oct 2005 09:55:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:476756</guid><dc:creator>mswanson</dc:creator><description>Awesome information. For those who want to view the actual PDC presentation, you might want to track the status of the PDC05 post-show DVD set: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/mswanson/archive/2005/10/03/476702.aspx"&gt;http://blogs.msdn.com/mswanson/archive/2005/10/03/476702.aspx&lt;/a&gt;. Maoni's FUN421 presentation will be included there in its entirety.</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#476878</link><pubDate>Tue, 04 Oct 2005 18:03:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:476878</guid><dc:creator>sgontov</dc:creator><description>Many thanks for your post PDC article. I missed last third of your presentation in PDC during rush to airport. This article together with slides helps me to add missing peaces.&lt;br&gt;</description></item><item><title>Question about Disposing Managed Object Manually</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#1054055</link><pubDate>Fri, 10 Nov 2006 14:58:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1054055</guid><dc:creator>Ramachandran</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Garbage Collection for Managed objects happen either automatically or forced by GC. Collect. Many people recommend that &amp;quot;don't use GC.Collect that will bring down the performance of our app&amp;quot;.&lt;/p&gt;
&lt;p&gt;My Question is, Is there any way to collect the Managed object immediately after use without using GC.Collect?&lt;/p&gt;
&lt;p&gt;I am asking this because i have a managed object that contains very very important Private Key. I dont like to keep that for a long time and also i dont like to call GC.Collect because that will slow down my app.How can i achieve my objective?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Ramachandran&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#1056480</link><pubDate>Sat, 11 Nov 2006 02:14:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1056480</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;Ramachandran, have you looked at the SecureString class? It was designed specifically for the usage you described.&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#1073956</link><pubDate>Tue, 14 Nov 2006 11:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1073956</guid><dc:creator>Ramachandran</dc:creator><description>&lt;p&gt;Maoni,&lt;/p&gt;
&lt;p&gt;Thanks. I found securestring as really useful feature. but we already designed some components in which we are using object to store secret keys[designed in 1.1]. so if there is a way to collect/erase the managed object immediately that will be really useful.&lt;/p&gt;
&lt;p&gt;Thanks for your immediate reply&lt;/p&gt;
&lt;p&gt;Ramachandran&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#1111127</link><pubDate>Tue, 21 Nov 2006 00:45:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1111127</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;Ramachandran, then you'll need to implement a Clear method that clears the sensitive content yourself...&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#1182090</link><pubDate>Fri, 01 Dec 2006 12:35:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1182090</guid><dc:creator>Wouter</dc:creator><description>&lt;p&gt;Are the slides still available somewhere?&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#1186860</link><pubDate>Sat, 02 Dec 2006 00:35:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1186860</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;Yes, I can't seem to open them in IE but I can save it from &lt;a rel="nofollow" target="_new" href="http://216.55.183.13/pdc2005/slides/FUN421_Stephens.ppt"&gt;http://216.55.183.13/pdc2005/slides/FUN421_Stephens.ppt&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#3470971</link><pubDate>Sat, 23 Jun 2007 03:32:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3470971</guid><dc:creator>John Grandy</dc:creator><description>&lt;p&gt;I can not access the slides in any manner. Would be really helpful to understand the material if I could take a look at them.&lt;/p&gt;
</description></item><item><title>More CLR Internal, Debugging, Etc reading material</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#3933545</link><pubDate>Wed, 18 Jul 2007 10:49:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3933545</guid><dc:creator>roy ashbrook</dc:creator><description>&lt;p&gt;I&amp;amp;#39;m done with most of these, but not totally. Tons of great information! Here are some more great&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#4288745</link><pubDate>Wed, 08 Aug 2007 10:01:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4288745</guid><dc:creator>Prince Devasitham</dc:creator><description>&lt;p&gt;Hi Maoni,&lt;/p&gt;
&lt;p&gt;First of all thanks for the wonderful blog, a lot of information on Gargbage Collection internals.&lt;/p&gt;
&lt;p&gt;I have a question.&lt;/p&gt;
&lt;p&gt;you have told that Gen0 &amp;amp; Gen1 has to be in the same Ephemeral segment. Assume we have a box with single processor then there would be only one heap available for the process. Is it valid to assume that Gen1 and Gen 0 together will not be more than 16MB at any point of time in execution of the process.&lt;/p&gt;
&lt;p&gt;pls valide my assumption and give you comments.&lt;/p&gt;
&lt;p&gt;Thanks in advance for you time on this query.&lt;/p&gt;
&lt;p&gt;Prince C Devasitham&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#4295720</link><pubDate>Wed, 08 Aug 2007 20:48:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4295720</guid><dc:creator>Prince Devasitham</dc:creator><description>&lt;p&gt;Hi Maoni,&lt;/p&gt;
&lt;p&gt;you have shared you PDC Slides but i am unable to download the like is not valid. &lt;/p&gt;
&lt;p&gt;Prince C Devasitham&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#4297992</link><pubDate>Thu, 09 Aug 2007 00:35:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4297992</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;Mr. Devasitham, your assumption is correct assuming you are not using server GC and your app runs on a 32-bit OS. HOWEVER, you should NOT make ANY dependency on this because it could change. You should never make any dependency on managed heap segment size, period.&lt;/p&gt;
&lt;p&gt;The slides indeed seem not be there anymore. I'll have to find out what's going with this.&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#4364247</link><pubDate>Mon, 13 Aug 2007 09:49:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4364247</guid><dc:creator>Can you share your pdc 2005 slides please</dc:creator><description>&lt;p&gt;Hi Maoni,&lt;/p&gt;
&lt;p&gt;Can you share your PDC Slides, i am very interested in viewing the slides as there are pointer to it in your blog.&lt;/p&gt;
&lt;p&gt;If it is not possible to share the slides due to resource constraint. Can you please mail to my e-address prince.devasitham@gmail.com&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Prince C Devasitham&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#8507332</link><pubDate>Thu, 15 May 2008 12:38:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8507332</guid><dc:creator>Nikhil</dc:creator><description>&lt;p&gt;Hi Maoni, &lt;/p&gt;
&lt;p&gt;Really usefull n sencetive information, &lt;/p&gt;
&lt;p&gt;Thanks a lot,&lt;/p&gt;
&lt;p&gt;Well I too require slides for better understanding, &lt;/p&gt;
&lt;p&gt;if u dont mind, can u please mail it to me on &lt;/p&gt;
&lt;p&gt;shameless_nik@hotmail.com,&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Tc&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#9158706</link><pubDate>Sun, 30 Nov 2008 23:04:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9158706</guid><dc:creator>puneet</dc:creator><description>&lt;p&gt;Hi Maoni,&lt;/p&gt;
&lt;p&gt;This is great in-depth information.&lt;/p&gt;
&lt;p&gt;Can you please publish this slides(existing link is broken)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: So, what’s new in the CLR 2.0 GC?</title><link>http://blogs.msdn.com/maoni/archive/2005/10/03/so-what-s-new-in-the-clr-2-0-gc.aspx#9910890</link><pubDate>Wed, 21 Oct 2009 20:37:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9910890</guid><dc:creator>er</dc:creator><description>&lt;p&gt;Hi Maoni,&lt;/p&gt;
&lt;p&gt;Great article.&lt;/p&gt;
&lt;p&gt;I have question regarding the demotion. When executing the following code:&lt;/p&gt;
&lt;p&gt; int[] a = new int[1000];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while (true)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&amp;quot;gen &amp;quot; + GC.GetGeneration(a));&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GC.Collect();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Threading.Thread.Sleep(100);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;-- a is not pinned, however the output looks like this:&lt;/p&gt;
&lt;p&gt;gen 0&lt;/p&gt;
&lt;p&gt;gen 1&lt;/p&gt;
&lt;p&gt;gen 2&lt;/p&gt;
&lt;p&gt;gen 2&lt;/p&gt;
&lt;p&gt;gen 0&lt;/p&gt;
&lt;p&gt;gen 0&lt;/p&gt;
&lt;p&gt;gen 0&lt;/p&gt;
&lt;p&gt;-- how come the object demoted to 0?&lt;/p&gt;
</description></item></channel></rss>