As you increase the heap size on a consistent workload, the mark and sweep phases will continue to take approximately the same length of time.
当您增加统一工作负载上的堆大小时,标记和清扫阶段将继续花费大致相同的时间完成操作。
The time spent in GC pauses for the mark and sweep phases of a garbage collection are based on the number of live objects on the heap.
用于垃圾收集的标记和清扫阶段的GC暂停时间基于堆上的活动对象的数量。
In the sweep phase, the JVM goes through the heap and removes all the objects that still have the mark bit in place; these objects are no longer referenced or used.
在sweep阶段,JVM遍历整个heap并删除仍具有标记bit的所有对象;这些对象不再被引用或使用。
In the sweep phase, the JVM goes through the heap and removes all the objects that still have the mark bit in place; these objects are no longer referenced or used.
在sweep阶段,JVM遍历整个heap并删除仍具有标记bit的所有对象;这些对象不再被引用或使用。
应用推荐