gcold年老代和永生代行为统计。
Statistics of the behavior of the old and permanent generations.
分代垃圾收集器把堆分成多代;多数JVM使用两代,“年轻代”和“年老代”。
A generational garbage collector divides the heap into multiple generations; most JVMs use two generations, a "young" and an "old" generation.
还应该分析gc日志,以了解年老代空间回收的频率;最优的分代应用程序进行年老代空间回收操作的频率应该非常低。
You should also analyze GC logs to understand how frequently the tenured space gets collected; an optimal generational application will have very infrequent collection in the tenured space.
应用推荐