[英]Understanding GC logs - app thread were stopped
看一下GC日志文件,它的不言而喻,以了解該應用程序已停止了0.0011450秒(stop-the-world)
Total time for which application threads were stopped: 0.0011450 seconds
但是,請幫助我了解以下內容是否也意味着世界末日? 還是只顯示每個線程花費的時間,real = TIME是什么意思(下面的最后一行)?
Finished work stealing in 3th thread: 13.706 sec
Finished work stealing in 2th thread: 17.325 sec
Finished work stealing in 4th thread: 17.052 sec
Finished work stealing in 0th thread: 17.325 sec
Finished work stealing in 1th thread: 17.324 sec
2015-08-19T03:20:32.882-0400: 321985.669: [CMS-concurrent-mark: 20.519/20.624 secs] (CMS-concurrent-mark yielded 6 times)
[Times: user=138.91 sys=0.10, real=20.62 secs]
該Oracle博客文章是在搜索“ CMS-concurrent-mark”時的第一個結果,並解釋了CMS的各個階段。
通過GCviewer運行日志還將分別列出STW和非STW階段。
而且,由於您已經啟用了應用程序停止時間日志記錄功能,因此無論是否是STW暫停,缺少停止時間日志記錄條目都應該是無用的。
real = TIME是什么意思(下面的最后一行)?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.