"Disabling Explicit GC" message in gc log with G1 collector
tony.printezis at oracle.com
Wed Apr 14 12:21:27 PDT 2010
Thanks for bringing this up. It's most likely debugging code that we
accidentally failed to remove. Apologies. I'll remove it piggy-backed
on my next push.
Andreas Kohn wrote:
> while playing with the G1 collector I noticed that our gc logs are now
> filled with a "Disabling Explicit GC" message repeating quite often.
> This seems to be coming from g1CollectedHeap.cpp
> We have -XX:+DisableExplicitGC and -Xloggc enabled by default, so in a
> way this is pretty much expected.
> I've now removed the print statement there, so that the gc log becomes a
> bit more readable. Was there a reason that G1 logs this condition?
More information about the hotspot-gc-dev