performance problems

Tom Tromey tromey@cygnus.com
Sat Aug 14 12:34:00 GMT 1999


>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:

Bryce> I actually hacked/implemented -ms and -mx in my local libgcj
Bryce> tree a while back when I was playing around with the GC. I was
Bryce> just scanning the command line arguments at runtime, calling
Bryce> the apropriate GC function with the arguments, and removing the
Bryce> parameter from 'args' in order to avoid conflicts with
Bryce> application code.

I don't like this approach because it breaks argument parsing for the
actual Java program.  For instance if "-mx" is an argument to some
option that the user's code uses, then removing it is wrong.

I do think that "gij" should accept the same arguments as "java" and
it should interpret them the same way (or ignore them if they don't
make sense in our environment).

Maybe it does make sense to allow an environment variable to control
the runtime in the fully-native case.  The environment variable could
have command line options in it.

Tom


More information about the Java mailing list