在G1GC中,GarbageCollectorMXBean#getCollectionTime是什么意思。它是暂停时间( STW阶段花费的时间)和并发阶段的总和还是其他什么?
发布于 2021-10-06 16:51:28
getCollectionTime方法返回一个以毫秒为单位的近似累积收集运行时间的长值。
Java docs on the GarbageCollectorMXBean Interface
https://stackoverflow.com/questions/69469469
相似问题