平行式“标记-清扫-压缩”收集器:optthruput。
“标记-清扫”算法的问题是可能会导致碎片(fragmentation),如图2 所示。
The problem with a mark-sweep algorithm is that it can lead to fragmentation (Figure 2).
这种策略也使用 “标记-清扫-压缩 (mark-sweep-compact)” 收集器,但大部分标记和清扫工作可以在应用程序运行时执行。
The same mark-sweep-compact collector is used, but much of the mark and sweep phases can be done as the application runs.
当您增加统一工作负载上的堆大小时,标记和清扫阶段将继续花费大致相同的时间完成操作。
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.
用于垃圾收集的标记和清扫阶段的GC暂停时间基于堆上的活动对象的数量。
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.
optthruput:(默认)当应用程序暂停时,在垃圾收集过程中执行标记和清扫操作,以便最大限度提高应用程序吞吐量。
optthruput: (default in V7) Performs the mark and sweep operations during garbage collection when the application is paused to maximize application throughput.
optthruput:(默认)当应用程序暂停时,在垃圾收集过程中执行标记和清扫操作,以便最大限度提高应用程序吞吐量。
optthruput: (default in V7) Performs the mark and sweep operations during garbage collection when the application is paused to maximize application throughput.
应用推荐