-X options?

Casey Marshall csm@gnu.org
Wed Mar 2 22:16:00 GMT 2005


>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:

Casey> At least four times now I've had to look up the property name
Casey> 'gnu.gcj.precompiled.db.path', which is really verbose.

Casey> Why aren't these properties (also, say, the gcj-jit properties)
Casey> handled as '-X' options? That way, it would be easier to set
Casey> them, and would allow the supported options to be listed with
Casey> 'gij -X'.

Tom> I think we just didn't think of it.
Tom> It sounds like a good idea to me.

I had written a little patch to do this (only in gij, though) but I
also saw open patches that change the argument parsing, and realized
that -X parsing probably shouldn't be in gij.cc.

$ gij -X
  -Xdb:PATH         set path to precompiled gcjdb file
  -Xjit:PATH        set path to 'gcj' compiler for JIT compliation
  -Xjitcache:PATH   set path for storing cached JIT compilations
  -Xjitopts:OPTS    specify options to pass to JIT compiler
  -Xms:SIZE         set initial heap size
  -Xmx:SIZE         set maximum heap size

The -X options are non-standard and subject to change without notice.

-- 
Casey Marshall || csm@gnu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gij-X.patch
Type: text/x-patch
Size: 5277 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20050302/1e0bae81/attachment.bin>


More information about the Java mailing list