﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-量子动力-最新评论</title><link>http://www.cnblogs.com/Leung/CommentsRSS.aspx</link><description>作一颗IT量子</description><language>zh-cn</language><pubDate>Mon, 24 Nov 2008 09:34:56 GMT</pubDate><lastBuildDate>Mon, 24 Nov 2008 09:34:56 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/09/29/1158680.html#1329636</link><dc:creator>严鹏</dc:creator><author>严鹏</author><pubDate>Mon, 29 Sep 2008 06:49:03 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/09/29/1158680.html#1329636</guid><description><![CDATA[很棒！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">严鹏</a> 2008-09-29 14:49 <a href="http://www.cnblogs.com/Leung/archive/2008/09/29/1158680.html#1329636#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re:  在vs2008下,如何去提高代码的质量</title><link>http://www.cnblogs.com/Leung/archive/2008/09/10/1288237.html#1313816</link><dc:creator>rexy</dc:creator><author>rexy</author><pubDate>Wed, 10 Sep 2008 07:20:02 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/09/10/1288237.html#1313816</guid><description><![CDATA[顶！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">rexy</a> 2008-09-10 15:20 <a href="http://www.cnblogs.com/Leung/archive/2008/09/10/1288237.html#1313816#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于及时回收(GC)系统资源的析构对象的的示例</title><link>http://www.cnblogs.com/Leung/archive/2008/04/21/1159665.html#1163336</link><dc:creator>leung</dc:creator><author>leung</author><pubDate>Mon, 21 Apr 2008 01:41:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/21/1159665.html#1163336</guid><description><![CDATA[用户用using或显示的调用dispose方法，其实都会通知GC来回收该对象Dispose(true); //这里其实也是通知GC说，我调用的是dispose，不需要用析构方法来调用了。这样的话就直接由dispose去回收资源，而析构队列是不会管的，如果用户没有去调用dispose的话，那么当对象的生命周期过期后会直接调用析构，那么dispose就不会去管了<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">leung</a> 2008-04-21 09:41 <a href="http://www.cnblogs.com/Leung/archive/2008/04/21/1159665.html#1163336#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于及时回收(GC)系统资源的析构对象的的示例</title><link>http://www.cnblogs.com/Leung/archive/2008/04/20/1159665.html#1162636</link><dc:creator>Colin Han</dc:creator><author>Colin Han</author><pubDate>Sun, 20 Apr 2008 09:28:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/20/1159665.html#1162636</guid><description><![CDATA[如果一个对象定义有Finalize函数，GC的Finalize队列会包含给对象的引用。当GC回收对象是，如果该对象不再被其它对象抓着，Finalize线程会调用该对象的Finalize函数。并且从Finalize队列中移除该对象的引用。下一次GC回收时，会释放该对象占用的内存。<br><br>对于你上面的对象，如果没有调用Dispose方法，并且不被任何对象抓着，调用GC.Collect方法可能触发它的析构函数。<br><br>但是，在你的Dispose方法中调用了GC.SuppressFinalize(this)方法后，该对象将会从Finalize队列中移除，Finalize函数就永远都不会再被调用了（据说回收队列中的对象可能复活，我没有试过。）这一点，也是为什么Dispose方法中推荐调用这个方法的原因。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">Colin Han</a> 2008-04-20 17:28 <a href="http://www.cnblogs.com/Leung/archive/2008/04/20/1159665.html#1162636#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158764</link><dc:creator>WhyCome[at]live.cn </dc:creator><author>WhyCome[at]live.cn </author><pubDate>Thu, 17 Apr 2008 13:09:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158764</guid><description><![CDATA[--引用--------------------------------------------------<br>Justin: 文章不错，但是引用地址呢？<br>(&lt;a href=&quot;http://msdn2.microsoft.com/zh-cn/library/8xx3tyca&quot; target=&quot;_new&quot;&gt;http://msdn2.microsoft.com/zh-cn/library/8xx3tyca&lt;/a&gt;(VS.80).aspx)<br>--------------------------------------------------------<br>严重同意<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">WhyCome[at]live.cn </a> 2008-04-17 21:09 <a href="http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158764#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158744</link><dc:creator>量子动力</dc:creator><author>量子动力</author><pubDate>Thu, 17 Apr 2008 12:48:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158744</guid><description><![CDATA[我自己写了一个连接池来管理SqlConnection，一测试尽然更加出现了Time out问题，还不如用完后执行Close方法，狂晕！！！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">量子动力</a> 2008-04-17 20:48 <a href="http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158744#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158735</link><dc:creator>王孟军!</dc:creator><author>王孟军!</author><pubDate>Thu, 17 Apr 2008 12:40:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158735</guid><description><![CDATA[辛苦了<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">王孟军!</a> 2008-04-17 20:40 <a href="http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158735#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158720</link><dc:creator>生鱼片</dc:creator><author>生鱼片</author><pubDate>Thu, 17 Apr 2008 12:30:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158720</guid><description><![CDATA[学习<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">生鱼片</a> 2008-04-17 20:30 <a href="http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158720#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158718</link><dc:creator>侯垒</dc:creator><author>侯垒</author><pubDate>Thu, 17 Apr 2008 12:28:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158718</guid><description><![CDATA[不错<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">侯垒</a> 2008-04-17 20:28 <a href="http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158718#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 数据库使用连接池</title><link>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158685</link><dc:creator>Justin</dc:creator><author>Justin</author><pubDate>Thu, 17 Apr 2008 12:03:00 GMT</pubDate><guid>http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158685</guid><description><![CDATA[文章不错，但是引用地址呢？<br>(<a href="http://msdn2.microsoft.com/zh-cn/library/8xx3tyca" target="_new">http://msdn2.microsoft.com/zh-cn/library/8xx3tyca</a>(VS.80).aspx)<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/Leung/" target="_blank">Justin</a> 2008-04-17 20:03 <a href="http://www.cnblogs.com/Leung/archive/2008/04/17/1158680.html#1158685#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>