<?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>How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx</link><description>I posted previously about how to set the GC mode your application. So now that you’re running your app, how do you know it’s running in that GC mode? If you’re using v1.0 or v1.1, the CLR loads a different dll based on which GC mode (mscorwks.dll for</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#378723</link><pubDate>Wed, 23 Feb 2005 09:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:378723</guid><dc:creator>B. Honeydew</dc:creator><description>Until Whidbey how about P/Invoking GetModuleHandle for &amp;quot;mscorsvr.dll&amp;quot; or &amp;quot;mscorwks.dll&amp;quot;&lt;br&gt;</description></item><item><title>re: How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#379095</link><pubDate>Wed, 23 Feb 2005 19:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:379095</guid><dc:creator>Chris</dc:creator><description>Sure, any method that gives the currently loaded modules will work.</description></item><item><title>re: How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#530594</link><pubDate>Mon, 13 Feb 2006 01:01:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:530594</guid><dc:creator>Anthony Sneed</dc:creator><description>Is there a way to tell if you are using the concurrent version of the workstation GC?</description></item><item><title>re: How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#531481</link><pubDate>Tue, 14 Feb 2006 05:06:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:531481</guid><dc:creator>clyon</dc:creator><description>Anthony,&lt;br&gt;&lt;br&gt;No, there is no way to tell directly.&lt;br&gt;&lt;br&gt;Concurrent is enable dby default on WorkStation&lt;br&gt;and disabled by default on Server GC. &amp;nbsp;&lt;br&gt;&lt;br&gt;Also, you can check the app config file to see if concurrent is explicitly disabled.&lt;br&gt;&lt;br&gt;Is there a particular reason why you need to know, or just curious?</description></item><item><title>re: How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#532088</link><pubDate>Wed, 15 Feb 2006 01:02:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:532088</guid><dc:creator>Anthony Sneed</dc:creator><description>Just curious actually -- and I like to verify things. &amp;nbsp;I am a bit surprised that concurrent is the default workstation mode, because I thought the default was for the GC to run on the main thread.
&lt;br&gt;
&lt;br&gt;Am I correct in my understanding that with concurrent GC (whether on single or multi proc) the GC runs on a separate thread?
&lt;br&gt;</description></item><item><title>re: How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#532194</link><pubDate>Wed, 15 Feb 2006 03:35:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:532194</guid><dc:creator>clyon</dc:creator><description>Concurrent GC runs on a different thread, but it behaves differently than workstation (and doesn't run all the time).&lt;br&gt;&lt;br&gt;Maoni has a great explanation here:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/maoni/archive/2004/09/25/234273.aspx"&gt;http://blogs.msdn.com/maoni/archive/2004/09/25/234273.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hope that helps!</description></item><item><title>re: How To Tell Which GC Mode Your Application Is Using</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#532595</link><pubDate>Wed, 15 Feb 2006 19:51:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:532595</guid><dc:creator>Anthony Sneed</dc:creator><description>Yes, that did help! &amp;nbsp;In fact, the answer is that, for an app running with the default concurrent workstation GC, the Gen0 and Gen1 collections will take place on the main app thread, suspending the thread while the GC takes place. &amp;nbsp;This is because those collections are pretty quick.&lt;br&gt;&lt;br&gt;But when a Gen2 collection takes place, the CLR will fire up a background thread to do that and only suspend the main thread for as little time as possilbe. &amp;nbsp;This is best for UI apps, where you want the interface to remain as responsive as possible.</description></item><item><title>???????????? ???? ???????????????????????? ?? ????????????&amp;#8230; &amp;laquo; ???????? ???????????? ??????????????</title><link>http://blogs.msdn.com/clyon/archive/2005/02/04/367419.aspx#6692566</link><pubDate>Fri, 07 Dec 2007 15:49:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6692566</guid><dc:creator>???????????? ???? ???????????????????????? ?? ????????????… « ???????? ???????????? ??????????????</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://seregaborzov.wordpress.com/2007/12/07/intro-and-how-to-links/"&gt;http://seregaborzov.wordpress.com/2007/12/07/intro-and-how-to-links/&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>