我从我的gc日志文件中找到了以下gc日志行:
2018-11-07T21:55:09.396+0000: 79480.126: [GC (Allocation Failure) 79480.126: [ParNew
Desired survivor size 1610612736 bytes, new threshold 7 (max 7)
- age 1: 13609280 bytes, 13609280 total
- age 2: 246216 bytes, 13855496 total
- age 3: 283904 bytes, 14139400 total
- age 4: 857376 bytes, 14996776 total
- age 5: 231944 bytes, 15228720 total
- age 6: 53288 bytes, 15282008 total
- age 7: 39328 bytes, 15321336 total
: 18894951K->21273K(22020096K), 0.0221053 secs] 19795496K-
>922082K(26214400K), 0.3470757 secs] [Times: user=0.39 sys=0.13,
real=0.34 secs]
2018-11-07T21:55:09.743+0000: 79480.473: Total time for which
application threads were stopped: 0.3493143 seconds
有两个数字:0.0221053秒和0.3470757秒。 ParNew STW时间是哪一个?为什么这两个数字有如此大的差异。对于其他gc日志行,这两个数字几乎相同。