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]

_Jv_SetMaximumHeapSize


// Set the maximum heap size.  This might be ignored by the GC layer.
// This must be called before _Jv_RunMain.
void
_Jv_SetMaximumHeapSize (const char *arg)
{
...
}

I can't grep any reference of as to where this function is accessible. Since it must
be called before _Jv_RunMain, I guess it is not accessible after program control
is handed over to the main() method appointed in java...

Is there a remote chance that we would be able to call this after _Jv_RunMain anyway,
and from java? That would be the cleaner solution ...

Sending it in from the commandline directly to this function, would probably mean
that the commandline would have some kind of magical option that will be processed
seperately and not show up in String[] args. Or does anybody know how this is
supposed to work? I'd like to make use of this _Jv_SetMaximumHeapSize() function, if
possible.


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