harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [drlvm] Ignoring Sun command line options?
Date Thu, 15 Feb 2007 17:15:16 GMT
Anyway, let's do it incrementally.

2007/2/15, Alexey Varlamov <alexey.v.varlamov@gmail.com>:
> 2007/2/15, Gregory Shimansky <gshimansky@gmail.com>:
> > Alexey Varlamov wrote:
> > > In my understanding, we face 2 issues here:
> > > 1) Support "-XX:" format for internal options; this is straightforward
> > > and I'll fix this shortly.
> > > This way such options will not be refused but silently ignored.
> >
> > Ignoring them silently I think it not the right thing to do. Why not add
> > a warning like JRockit does, so that application developers would pay
> > more attention to the options that they pass to the VM?
>
> Yes, this should be resolved with the 2nd part; AFAIU this is the only
> way to do it consistently.
> Don't you suggest to hardcode all options we aware of at the moment
> and warn on uknown? IMO this would be unmaintanable, e.g. jitrino has
> tons of options and they are added/changed quite often.
>
> > > 2) Validate all specified internal options. More generally, VM
> > > components should parse/validate related cmd-line args and report
> > > back, instead of current hardcoded parsing in vmcore. This is a good
> > > designing exercise, need to consider possible circular dependencies
> > > between components and such. Any volunteers?
> > >
>

Mime
View raw message