简体   繁体   English

GC日志的GC暂停持续时间

[英]GC pause duration from GC logs

We are using UseParallelGC. 我们正在使用UseParallelGC。

GC logs looks like GC日志看起来像

2016-06-09T19:38:17.362+0000: 655312.397: [Full GC (Ergonomics) [PSYoungGen: 229127K->0K(3882496K)] [ParOldGen: 8350636K->5628357K(8388608K)] 8579764K->5628357K(12271104K), [Metaspace: 111462K->111462K(1150976K)], 39.9246114 secs] [Times: user=689.16 sys=0.00, real=39.92 secs] 2016-06-09T19:38:17.362 + 0000:655312.397:[全GC(人体工程学)[PSYoungGen:229127K-> 0K(3882496K)] [ParOldGen:8350636K-> 5628357K(8388608K)] 8579764K-> 5628357K(12271104K), [Metaspace:111462K-> 111462K(1150976K)],39.9246114 secs] [次:用户= 689.16 sys = 0.00,real = 39.92 secs]

We want to know what is GC pause time. 我们想知道什么是GC暂停时间。 Is it 689.16 sec or 39.9246114 secs? 是689.16秒还是39.9246114秒?

User means the time spent in CPU in user mode. 用户表示在用户模式下在CPU中花费的时间。 If you have several cores you can use several seconds of user time per second (every core counts). 如果您有多个核心,则每秒可以使用几秒钟的用户时间(每个核心数)。

Real time means wall clock time, which probably is the time you are most interested in. 实时意味着挂钟时间,这可能是您最感兴趣的时间。

So your JVM was paused for 39.92 seconds, using a total of 689 seconds of CPU time (which means you have more than 17 cores). 因此,您的JVM暂停了39.92秒,总共使用了689秒的CPU时间(这意味着您拥有超过17个内核)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM