PING: Make -Xprintflags always available

Gary Benson gbenson at redhat.com
Wed Jan 6 02:12:10 PST 2010


Hi Vladimir,

PrintFlagsFinal looks like it would be useful to have, if that's ok
with you.

Thanks for looking into this for me.  

Cheers,
Gary

Vladimir Kozlov wrote:
> I looked through the flag's changes history and I don't see anything
> which prevents it from work in product VM.
>
> Gary, do you want PrintFlagsFinal also be a product flag?
>
> Note:
>  -Xprintflags prints default values and flags setting specified
> on command line before it, after printing VM exit.
>  -XX:+PrintFlagsFinal prints final state of all flags which could be
> different from default due to ergonomic and platform specific settings,
> after printing VM continue execution.
>
> Thanks,
> Vladimir
>
> Christian Thalinger wrote:
> > On Tue, 2010-01-05 at 10:45 +0000, Gary Benson wrote:
> > > Hi all,
> > >
> > > I mailed this webrev to the list a month ago, and not one person
> > > has commented.  Can somebody please look at this for me?
> > >
> > > Cheers,
> > > Gary
> > >
> > > Gary Benson wrote:
> > > > Hi,
> > > >
> > > > Did anyone have any thoughts on this?  It would be really
> > > > helpful for IcedTea if OpenJDK did this generally.
> > > >
> > > > Cheers,
> > > > Gary
> > > >
> > > > Gary Benson wrote:
> > > > > Hi all,
> > > > >
> > > > > I've been working on a script to test HotSpot with
> > > > > non-standard options.  The idea is to start the VM with -XX
> > > > > option and check it doesn't crash or anything.
> > > > >
> > > > > One thing that's proving problematic is getting a list of
> > > > > all the options.  We want to test product builds, but
> > > > > -Xprintflags is only available on debug builds.
> > > > >
> > > > > Would it be possible to have -Xprintflags always available?
> > > > > Something like this:
> > > > >
> > > > >   http://cr.openjdk.java.net/~gbenson/printflags-product/
> >
> > I think this would be nice to have, but maybe there is a history
> > behind that that I don't know.  Someone else has to jump in here.
> >
> > -- Christian

-- 
http://gbenson.net/


More information about the hotspot-dev mailing list