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 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


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