cool hack
Tom Tromey
tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
>> Good point. I think any options like this should be supported by
>> gcj (it should pass them to jvgenmain), gij, and the JNI invocation
>> API. (Changing gij to use the invocation API might make sense --
>> it might reduce the maintenance burden.)
Jeff> Because CNI has no documented invocation interface?
I meant more to unify JNI argument parsing (in JNI_CreateJavaVM) and
gij argument parsing.
Giving CNI an invocation interface would probably also be good. You
can already cheat and use the functions in prims.cc just like
jvgenmain does (but, of course, rely on it at your own risk, etc).
Jeff> Right now the heap functions in libgcj aren't exported as C
Jeff> functions, and jvgenmain only generates C source. Any problems
Jeff> with declaring those with extern "C"?
Nope.
Jeff> For that matter, any opinions on what the short and long
Jeff> argument names should be?
I find "-mx" and "-ms" to be too cryptic for my taste.
Maybe -finitial-heap= and -fmax-heap=?
Tom
More information about the Java
mailing list