Question regarding G1 option to run parallel Old generation garbage collection?
csewhiz
csewhiz at zoho.com
Fri Oct 19 05:13:04 UTC 2012
Hello All, Sorry for posting this question in this mailing list. I am unable to find any answer for this. I am trying to tune our application for G1GC as we need very small pauses Below 500msec. But the problem is when we are runing with G1GC (under jdk 6_u37) Old generation of garbage collection only happening when it is reaching the Max GC size I noticed on jdk 6U 37 if max heap size is 1GB then it is close to 1sec 2GB close to 2 sec pauses. Is there any parameter to force the old gc happening regularly. I am trying following setting, -Xms1280M -Xmx1280M -XX:+UseG1GC -XX:MaxTenuringThreshold=15 -XX:SurvivorRatio=8 -XX:NewRatio=1 -XX:GCPauseIntervalMillis=7500 -XX:MaxGCPauseMillis=500 -XX:InitiatingHeapOccupancyPercent=0 -XX:ParallelGCThreads=7 -XX:ConcGCThreads=7 If anyone can give insight on how full GC is triggred internals will be of great help. PS: I have tried without any option for G1 but not of much help hence .. this one trying to be agressive ? but of not much help. Regards, Soumit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20121019/d22d2a32/attachment.htm>
More information about the hotspot-gc-dev
mailing list