Here is an example of a verbose GC from a full GC, followed by a heap expansion.
如下所示是来自完整gc的一个verbose GC的例子,后跟一个heap扩展。
This way, the garbage collector will obtain more breathing space, decreasing the probability of a full GC.
通过这种方式,垃圾收集器将获得更多空间并减少完全GC的可能性。
The compact phase is run only in a full GC, which attempts to reallocate all the objects in the heap to a smaller, more compact, and more contiguous space in the heap.
compact阶段只在一个完整的GC中才会运行,在这个阶段,gc会试图将heap内的所有对象重新分配到heap内的一个更为紧缩、更为连续的较小空间。
In effect, short pause times that are sufficiently close together are no different from a full STW GC.
实际上,足够接近的短暂停时间与完整的STWGC并无二致。
In effect, short pause times that are sufficiently close together are no different from a full STW GC.
实际上,足够接近的短暂停时间与完整的STWGC并无二致。
应用推荐