today study_2005.1.27
最新推荐文章于 2022-10-18 09:51:08 发布
Controls the system garbage collector, a service that automatically reclaims unused memory.
The methods in this class influence when an object is garbage collected and when resources allocated by an object are released. Properties in this class provide information about the total amount of memory available in the system and the age category, or generation, of memory allocated to an object.
此类中的方法影响何时对对象进行垃圾回收以及何时释放对象所分配的资源。此类中的属性提供以下信息:系统可用内存总量、分配给对象的内存的周期类别(代)。
influence n. 1.影响,感化 2.权势,势力vt. 影响,感化,左右
age category 周期类别
The garbage collector tracks and reclaims objects allocated in managed memory. Periodically, the garbage collector performs garbage collection to reclaim memory allocated to objects for which there are no valid references. Garbage collection happens automatically when a request for memory cannot be satisfied using available free memory. Alternatively, an application can force garbage collection using the Collect method.
垃圾回收器跟踪并回收托管内存中分配的对象。垃圾回收器定期执行垃圾回收以回收分配给没有有效引用的对象的内存。当使用可用内存不能满足内存请求时,垃圾回收会自动进行。或者,应用程序可以使用 Collect 方法强制进行垃圾回收。
Alternatively ad. 二者择一地,做为选择
Periodically ad. 周期性地,定时性地
Exclusively ad. 排外地,独有地,专门地
explicitly adv.清晰地