● 寻找正被使用的内存块,并将他们标记为有效
● 释放所有没有被使用的内存块
● 整理堆以减少碎片
gc参考:
http://www.csdn.net/develop/read_article.asp?id=13895
http://www.csdn.net/develop/article/13%5c13896.shtm
6.。net framework
不用我多说,用过的都知道。参考:
● 寻找正被使用的内存块,并将他们标记为有效
● 释放所有没有被使用的内存块
● 整理堆以减少碎片
gc参考:
http://www.csdn.net/develop/read_article.asp?id=13895
http://www.csdn.net/develop/article/13%5c13896.shtm
6.。net framework
不用我多说,用过的都知道。参考: