0

GarbageCollectorMXBean getCollectionCount のドキュメントには、Returns the total number of collections that has been occur と書かれていますが、それは JVM の開始時刻の開始からですか?

私が見ているところから、getCollectionCount の最後のポーリングからの GC の数のように見えます。GarbageCollectorMXBean のサンプル (おそらく G1GC) 実装はどこで確認できますか?

4

1 に答える 1