title: G1 Collector execute 50 times per seconds
body: <p>Using Java 1.6.0_45 with G1 I have one of my application that run almost indefinitely G1 collector. Beside that seems to waste some CPU it also fill my gc log pretty fast at the lowest setting I could find.</p>
  
  <p>I'm wondering what's going on here. Is it normal? </p>
  
  <p>These are my JVM flags:</p>
  
  <pre><code>-XX:ParallelGCThreads=4
  -XX:+DisableExplicitGC
  -XX:+PrintAdaptiveSizePolicy
  -XX:MaxGCPauseMillis=500
  -XX:+UnlockExperimentalVMOptions
  -XX:+AggressiveOpts
  -XX:+DoEscapeAnalysis
  -XX:+UseCompressedOops
  -XX:InitiatingHeapOccupancyPercent=60
  -XX:+UseG1GC
  -XX:+PrintGCDateStamps
  -XX:HeapDumpPath=JavaLogs\uat
  -XX:+HeapDumpOnOutOfMemoryError
  -Xloggc:jvm.log
  -XX:+PrintGC
  
  2014-05-14T08:22:11.173-0400: 495.992: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0178429 secs]
  2014-05-14T08:22:11.188-0400: 496.011: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0085317 secs]
  2014-05-14T08:22:11.188-0400: 496.021: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0022702 secs]
  2014-05-14T08:22:11.204-0400: 496.025: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0028976 secs]
  2014-05-14T08:22:11.204-0400: 496.029: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0021763 secs]
  2014-05-14T08:22:11.204-0400: 496.032: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0020172 secs]
  2014-05-14T08:22:11.204-0400: 496.035: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0020475 secs]
  2014-05-14T08:22:11.219-0400: 496.039: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0022187 secs]
  2014-05-14T08:22:11.219-0400: 496.042: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0020149 secs]
  2014-05-14T08:22:11.219-0400: 496.045: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0021635 secs]
  2014-05-14T08:22:11.219-0400: 496.049: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0019517 secs]
  2014-05-14T08:22:11.219-0400: 496.052: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0022797 secs]
  2014-05-14T08:22:11.235-0400: 496.055: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0020060 secs]
  2014-05-14T08:22:11.235-0400: 496.058: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0019567 secs]
  2014-05-14T08:22:11.235-0400: 496.062: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0019677 secs]
  2014-05-14T08:22:11.235-0400: 496.065: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0019333 secs]
  2014-05-14T08:22:11.251-0400: 496.068: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0021960 secs]
  2014-05-14T08:22:11.251-0400: 496.071: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0020410 secs]
  2014-05-14T08:22:11.251-0400: 496.075: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0019669 secs]
  2014-05-14T08:22:11.251-0400: 496.078: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0018926 secs]
  2014-05-14T08:22:11.251-0400: 496.081: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0019296 secs]
  2014-05-14T08:22:11.266-0400: 496.084: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0025533 secs]
  2014-05-14T08:22:11.266-0400: 496.088: [GC pause (partial) 1177M-&gt;1176M(2000M), 0.0022381 secs]
  2014-05-14T08:22:11.266-0400: 496.091: [GC pause (partial) 1177M-&gt;1177M(2000M), 0.0020359 secs]
  2014-05-14T08:22:11.266-0400: 496.094: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0018670 secs]
  2014-05-14T08:22:11.266-0400: 496.097: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0021041 secs]
  2014-05-14T08:22:11.282-0400: 496.101: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0022645 secs]
  2014-05-14T08:22:11.282-0400: 496.104: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0020740 secs]
  2014-05-14T08:22:11.282-0400: 496.107: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0020746 secs]
  2014-05-14T08:22:11.282-0400: 496.110: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019408 secs]
  2014-05-14T08:22:11.282-0400: 496.113: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0021309 secs]
  2014-05-14T08:22:11.297-0400: 496.117: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0020609 secs]
  2014-05-14T08:22:11.297-0400: 496.120: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019799 secs]
  2014-05-14T08:22:11.297-0400: 496.123: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019292 secs]
  2014-05-14T08:22:11.297-0400: 496.126: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019674 secs]
  2014-05-14T08:22:11.297-0400: 496.129: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0021726 secs]
  2014-05-14T08:22:11.313-0400: 496.133: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0021274 secs]
  2014-05-14T08:22:11.313-0400: 496.136: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019959 secs]
  2014-05-14T08:22:11.313-0400: 496.139: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019370 secs]
  2014-05-14T08:22:11.313-0400: 496.142: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019042 secs]
  2014-05-14T08:22:11.313-0400: 496.145: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0021778 secs]
  2014-05-14T08:22:11.329-0400: 496.149: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0020659 secs]
  2014-05-14T08:22:11.329-0400: 496.152: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019820 secs]
  2014-05-14T08:22:11.329-0400: 496.155: [GC pause (partial) 1178M-&gt;1177M(2000M), 0.0019167 secs]
  </code></pre>