InfoQ: What are the difficulties in making a generational GC for the Ruby 1.9.x VM?
InfoQ:在Ruby 1.9 . x VM中使用这个新一代的GC有什么困难呢?
Switching to generational GC can improve performance on IBM JVMs, particularly for larger heap sizes, typically by around 5%.
切换到分代垃圾回收可以改善IBMJVM 的性能,对于较大的堆而言,性能可以提升 5% 左右。
The reason that a generational GC memory model is preferred with large JVMs has to do with minimizing the amount of time spent performing GC.
之所以首选分代GC内存模型,是因为大型JVM必须尽可能减少执行gc的时间。
Generational GC is a policy that is best suited to applications that create many short-lived objects, which is typical of middleware solutions.
分代GC策略非常适合创建很多短期存活的对象的应用程序,这种情况对于中间件解决方案很常见。
Because our GCStressThread generates a constantly changing set of live data, using a generational GC policy isn't expected to provide much pause-time benefit.
由于我们的gcstressthread生成了一个不断变化的活动数据集,所以使用分代GC策略并不能提供太多暂停时间优势。
InfoQ: it seems like the longlife GC patch is the first step towards a generational GC, particularly the introduction of code for handling write barriers and remembered sets.
InfoQ:看起来这个补丁将会是迈向新一代垃圾收集器的第一步,尤其是关于处理写屏障和可记忆化集合的代码介绍。
InfoQ: it seems like the longlife GC patch is the first step towards a generational GC, particularly the introduction of code for handling write barriers and remembered sets.
InfoQ:看起来这个补丁将会是迈向新一代垃圾收集器的第一步,尤其是关于处理写屏障和可记忆化集合的代码介绍。
应用推荐