This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: _Jv_SetMaximumHeapSize
Erik Poupaert writes:
>
> > > void
> > > _Jv_SetMaximumHeapSize (const char *arg)
>
> > Why not? Look at gij.cc:120.
>
> That's the interpreter ... What about native executables?
Oh, I see what you'rew saying. Well, you'd do it in the same way by
calling _Jv_SetMaximumHeapSize() before JvRunMain(). Either that or
start your application with gij.
gcj Hello.java -shared -fpic -o Hello.so
gij Hello -mx=128
Andrew.