The code in Listing 4 shows how the Garbage Collect command is implemented.
清单4中的代码展示了Garbage Collect命令是如何实现的。
It's the long-lived objects, such as ones you might pool, that are expensive to garbage collect.
只 有那些生存周期很长的对象,才适合使用对象池技术,因为对它们进行垃圾回收的成本很高。
This configuration provides a balance between how often the garbage collector runs and how long it takes the garbage collector to collect garbage.
此配置在垃圾回收器运行的频率和垃圾回收器进行垃圾回收操作的时间长度之间进行了平衡。
应用推荐