<?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>Chris Lyon's WebLog - All Comments</title><link>http://blogs.msdn.com/b/clyon/</link><description>Or How I Learned To Stop Worrying And Love The GC</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Dispose Dos and Don'ts</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/23/233464.aspx#9989018</link><pubDate>Thu, 01 Apr 2010 17:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9989018</guid><dc:creator>dcjeff</dc:creator><description>&lt;p&gt;No sure I agree with &amp;quot;Don't throw exceptions in Dispose&amp;quot;. &amp;nbsp;There are certainly places in the .net framework where this happens (e.g. disposing a faulted wcf client). &amp;nbsp;I also haven't been able to find anything in the official documentation warning against this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9989018" width="1" height="1"&gt;</description></item><item><title>re: GCHandles, Boxing and Heap Corruption</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/17/230985.aspx#9809095</link><pubDate>Tue, 30 Jun 2009 05:06:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9809095</guid><dc:creator>Brent Arias</dc:creator><description>&lt;P&gt;I am running on Vista x64 SP1 with VS2008 SP1 with .net 3.5 SP1, and the following code crashes the run-time:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;static int Main(string[] args)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] hash = new byte[20];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GCHandle gch = GCHandle.Alloc(hash, GCHandleType.Pinned);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IntPtr MyPtr = gch.AddrOfPinnedObject();&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GCHandle temp = GCHandle.FromIntPtr(MyPtr); &amp;nbsp;//This line crashes the CLR (the exception cannot be caught!!!!).&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;temp.Free();&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return 0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;
&lt;P&gt;The system event log says ".NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (000007FEF95CAA6E) (80131506)"&lt;/P&gt;
&lt;P&gt;Why is that happening?&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9809095" width="1" height="1"&gt;</description></item><item><title> Chris Lyon s WebLog A Few Good GC Links | debt solutions</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/14/229477.aspx#9790320</link><pubDate>Fri, 19 Jun 2009 19:36:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9790320</guid><dc:creator> Chris Lyon s WebLog A Few Good GC Links | debt solutions</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://debtsolutionsnow.info/story.php?id=2475"&gt;http://debtsolutionsnow.info/story.php?id=2475&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9790320" width="1" height="1"&gt;</description></item><item><title> Chris Lyon s WebLog Dispose Dos and Don ts | storage bench</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/23/233464.aspx#9782635</link><pubDate>Fri, 19 Jun 2009 11:05:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9782635</guid><dc:creator> Chris Lyon s WebLog Dispose Dos and Don ts | storage bench</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://thestoragebench.info/story.php?id=5028"&gt;http://thestoragebench.info/story.php?id=5028&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9782635" width="1" height="1"&gt;</description></item><item><title> Chris Lyon s WebLog To Null or Not to Null | unemployment office</title><link>http://blogs.msdn.com/b/clyon/archive/2004/12/01/273144.aspx#9759892</link><pubDate>Tue, 16 Jun 2009 11:08:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9759892</guid><dc:creator> Chris Lyon s WebLog To Null or Not to Null | unemployment office</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://unemploymentofficeresource.info/story.php?id=1294"&gt;http://unemploymentofficeresource.info/story.php?id=1294&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9759892" width="1" height="1"&gt;</description></item><item><title> Chris Lyon s WebLog Server Workstation and Concurrent GC | unemployment office</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/08/226981.aspx#9759493</link><pubDate>Tue, 16 Jun 2009 10:40:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9759493</guid><dc:creator> Chris Lyon s WebLog Server Workstation and Concurrent GC | unemployment office</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://unemploymentofficeresource.info/story.php?id=16641"&gt;http://unemploymentofficeresource.info/story.php?id=16641&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9759493" width="1" height="1"&gt;</description></item><item><title> Chris Lyon s WebLog Dispose Dos and Don ts |  Hammock Stand</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/23/233464.aspx#9689287</link><pubDate>Wed, 03 Jun 2009 07:38:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9689287</guid><dc:creator> Chris Lyon s WebLog Dispose Dos and Don ts |  Hammock Stand</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://hammockstandsite.info/story.php?id=18314"&gt;http://hammockstandsite.info/story.php?id=18314&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9689287" width="1" height="1"&gt;</description></item><item><title> Chris Lyon s WebLog A New GC Blog | Paid Surveys</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/02/224855.aspx#9650656</link><pubDate>Fri, 29 May 2009 02:30:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9650656</guid><dc:creator> Chris Lyon s WebLog A New GC Blog | Paid Surveys</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://paidsurveyshub.info/story.php?title=chris-lyon-s-weblog-a-new-gc-blog"&gt;http://paidsurveyshub.info/story.php?title=chris-lyon-s-weblog-a-new-gc-blog&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9650656" width="1" height="1"&gt;</description></item><item><title>server gs vs workstation gs | keyongtech</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/10/228104.aspx#9364344</link><pubDate>Thu, 22 Jan 2009 10:40:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9364344</guid><dc:creator>server gs vs workstation gs | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/451413-server-gs-vs-workstation-gs"&gt;http://www.keyongtech.com/451413-server-gs-vs-workstation-gs&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9364344" width="1" height="1"&gt;</description></item><item><title>Suppress finalize in dataset constructor??? | keyongtech</title><link>http://blogs.msdn.com/b/clyon/archive/2004/09/21/232445.aspx#9362805</link><pubDate>Thu, 22 Jan 2009 07:43:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9362805</guid><dc:creator>Suppress finalize in dataset constructor??? | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/442901-suppress-finalize-in-dataset-constructor"&gt;http://www.keyongtech.com/442901-suppress-finalize-in-dataset-constructor&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9362805" width="1" height="1"&gt;</description></item></channel></rss>