This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: _Jv_SetMaximumHeapSize
- From: Jeff Sturm <jsturm at one-point dot com>
- 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: Sun, 21 Sep 2003 12:44:16 -0400 (EDT)
- Subject: Re: _Jv_SetMaximumHeapSize
On Sun, 21 Sep 2003, 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.
Or the environment variable, GC_MAXIMUM_HEAP_SIZE.
(There was once a PR to add -ms/-mx to jvgenmain, it was eventually
closed. I tend to agree that the decision to limit heap size is better
left to the user of a program than to whomever is choosing compiler
flags.)
Jeff