This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _Jv_SetMaximumHeapSize


On Monday, Sep 22, 2003, at 05:39 Pacific/Auckland, Erik Poupaert wrote:

What we have today, is no support -- or so to speak -- for invoking
_Jv_SetMaximumHeapSize() when starting a native executable; except for the option in
which you bypass jvgenmain and supply your own main() function; but that's rather a
workaround than real support.

My preferred solution is an environment variable, ie GCJFLAGS. Libgcj would have unified command-line processing code between gij, GCJFLAGS, and the invocation interface. So, for example, you could do something like


GCJFLAGS="-mx=128M -Dfoo=bar" ./myapp

This has been on my "to-do list" for a long time!

Regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]