Will parsers break if we start logging the GC cause as part of the PrintGC logging?

Srinivas Ramakrishna ysr1729 at gmail.com
Tue May 8 14:07:11 PDT 2012


Hi Misha --

I think a slightly more glorified version of -XX:+PrintFlagsFinal will
perhaps be sufficient, which also includes a dump of the documentation
string usually associated with the JVM flags.
I agree with you that something like that would be both "self-documenting"
(if you will) and stay current with the installation at hand without
grovelling through source code (or out of date
documentation). It would also make power users inn data centers hugely
happy i think...

-- ramki

On Tue, May 8, 2012 at 12:56 PM, Misha Dmitriev
<misha.dmitriev at oracle.com>wrote:

> > Message: 2
> > Date: Tue, 08 May 2012 12:42:27 +0200
> > From: Bengt Rutisson <bengt.rutisson at oracle.com>
> > Subject: Re: Will parsers break if we start logging the GC cause as
> >       part of the PrintGC logging?
> > To: Srinivas Ramakrishna <ysr1729 at gmail.com>
> > Cc: "hotspot-gc-use at openjdk.java.net"
> >       <hotspot-gc-use at openjdk.java.net>
> > Message-ID: <4FA8F893.604 at oracle.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> >
> > Thanks for the feedback everyone!
> >
> > I think I'll do as Ramki suggested. Add the GC cause to all collectors,
> > but add a switch for users to turn it off. I am not too happy about
> > adding another command line option, but is seems more consistent to do
> > the change for all collectors.
>
> I agree that the "enable by default, and add a flag to disable" is the
> best choice.
>
> Speaking about HotSpot VM options/flags. I think the biggest problem is
> not that there are so many flags (I've seen applications with many more),
> but the fact that the documentation for them is difficult to find, and some
> flags are always missing from it. If 'java -Xhelp' and 'java -XXhelp'
> (well, the second option does not even exist) gave me all the available
> flags for sure, managing them would be much easier.
>
> Misha
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20120508/e3fdd266/attachment.html 


More information about the hotspot-gc-use mailing list