This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: _Jv_SetMaximumHeapSize
- From: Bryce McKinlay <bryce at mckinlay dot net dot nz>
- To: Erik Poupaert <erik dot poupaert at freestyler-toolkit dot org>
- Cc: Michael Koch <konqueror at gmx dot de>,aph at redhat dot com,java at gcc dot gnu dot org
- Date: Tue, 23 Sep 2003 11:36:15 +1200
- Subject: 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.