Strange G1 behavior
Kirk Pepperdine
kirk.pepperdine at gmail.com
Wed Oct 11 09:48:38 UTC 2017
Hi,
I’ve got a GC log that contains records where the “to-space” is resized to 0 regions. This setting is maintained causing overall heap occupancy to spike which then triggers a Full GC. This is a behavior that I’ve observed in many versions of the JVM from 7.x to 8.x. I was waiting for a recent built to display it and to see if I could sort out more information before raising the issue. I have a customer (Wikipedia) that can reproduce this behavior and is willing to work with us to help resolve the issue. I’ve attached their GC log.
It all starts with the young gen collection….
2017-10-08T04:19:26.417+0000: 240984.824
…. snip
(to-space exhausted), 0.2808928 secs]. <—— bad, generally means survivor is too small which is why (Charlie) we still need the age data.
…. SNIP
[Eden: 0.0B(608.0M)->0.0B(612.0M) Survivors: 4096.0K->0.0B Heap: 11.9G(12.0G)->11.9G(12.0G)]. <—— you are now painted into cornered which most likely needs a Full GC to get out...
…. SNIP to the next young…
[Eden: 0.0B(612.0M)->0.0B(612.0M) Survivors: 0.0B->0.0B Heap: 11.9G(12.0G)->11.9G(12.0G)]. <—— now a Full GC is coming, no questions.
….SNIP….
2017-10-08T04:19:26.714+0000: 240985.121: [Full GC <—— and here it is….
[Times: user=52.17 sys=0.12, real=26.26 secs]
After which everything is normal. But they cycle may repeat it’s self. The condition generally takes several days to show up so I’ve not seen it reproduced yet in a test environment. Hopefully there is a test case that can run in a reasonable amount of time.
Kind regards,
Kirk Pepperdine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wdqs-blazegraph_jvm_gc.pid29188.log.0.zip
Type: application/zip
Size: 2694380 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20171011/cba5a326/wdqs-blazegraph_jvm_gc.pid29188.log.0.zip>
-------------- next part --------------
More information about the hotspot-gc-dev
mailing list