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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 21. September 2003 18:36 schrieb Erik Poupaert:
> > The arg parsing is much more complex than that -- surely -mx can
> > go anywhere.  Also, we'd be imposing our idea of what args were
> > permissible in a Java program,
>
> I was moving in the direction of seeing the option in the gcj
> commandline:
>
> $ gcj Hello.java --main=Hello -mx 128

Thats IMHO the totally wrong place. The maximium heap the executable 
uses during execution has nothing to do with compiling the program.

If this argument should be usable then it should be added when running 
the executable like this:

./hello -mx 128

I think jvgenmain can do this but I'm nit sure. I never looked into 
this stuff.

Just my 2 cents.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/bcChWSOgCCdjSDsRAmbNAJ9wtOT4LJVK0rqPjF/HrHwvFmf9EQCgoNXP
4jA1/xkHueVaif+zDZaHBqA=
=9YHg
-----END PGP SIGNATURE-----


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