GCInterval in Java 8
Rainer Jung
rainer.jung at kippdata.de
Tue Nov 24 19:07:43 UTC 2015
Am 24.11.2015 um 12:13 schrieb Denny Kettwig:
> Hello,
>
> I have quick question regarding these two parameters:
>
> -Dsun.rmi.dgc.client.gcInterval=3600000
>
> -Dsun.rmi.dgc.server.gcInterval=3600000
>
> We have set these parameters in the past to force a Full GC once every
> hour, however since we switched to Java 8 the parameter no longer has
> any effect. Has something changed in past? I can’t find any source in
> the net mentioning a change in this area.
Originally the params resulted in a distributed GC exactly every 3600
seconds apart from each other. I vaguely remember that at some point in
time it changed to running it if no other GC of Tenured had run since at
least an hour and only then DGC kicked in. So as long as there are other
reasons for normal GC of Tenured/OldGen at least once an hour you would
no longer observe a DGC.
Other sources might confirm this claim and know, in which version that
was introduced. Could it be the reason for your observation, or do you
have not other GCs of Tenured/OldGen as well?
How do you check for GC events?
Regards,
Rainer
More information about the hotspot-gc-use
mailing list