Repeatedly creating and throwing out objects carries very little performance overhead, but holding onto existing object instances for reuse creates significant work for the garbage collector.
重复创建并丢弃对象的方法产生很小的性能开销,而持有现有对象实例以便重用的方法则为垃圾收集器增加大量的工作负担。
Reference counting is simple, but requires significant assistance from the compiler and imposes overhead on the mutator (the term for the user program, from the perspective of the garbage collector).
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(mutator)的开销(这个术语是针对用户程序的,是从垃圾收集器的角度来看的)。
The second technique is to reduce the polling overhead of the JMX exposed memory pools further by implementing the listening collector pattern instead of a polling pattern.
第二个技巧是使用监控收集模式代替轮询模式,从而进一步减少JMX公开内存池的轮询开销。
Usage of XPCOM has been decreased in many places over the years, and its resource overhead was reduced by the new cycle collector.
对XPCOM的使用被大大减少,XPCOM对资源的占用通过一个新的循环回收器得到减低。
Usage of XPCOM has been decreased in many places over the years, and its resource overhead was reduced by the new cycle collector.
对XPCOM的使用被大大减少,XPCOM对资源的占用通过一个新的循环回收器得到减低。
应用推荐