Speaking of runtime options

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Jan 28 15:46:00 GMT 2002


Nic Ferrier wrote:

>>One thing we had planned but never implemented was to push some of the 
>>actual parsing code into the invocation API, as required by the JNI 
>>spec.  It would be nice to do that; have gij parse the options and 
>>then pass them on to the invocation API somehow.  (Whether this is 
>>fully feasible I don't know.) 
>>
>
>Hmmm... How then would the max and initial heap get set? I would have
>thought that such options must be present before the VM is
>created... but perhaps they could be passed to _Jv_RunMain ?
>
>Is _Jv_RunMain part of the defined invocation API? or is the
>invocation API just the JvCreateJavaVM stuff that Per checked in?
>

Yeah. _Jv_RunMain is not a CNI API and should probibly stay that way.

>If the latter I think gij should use that rather than RunMain.
>

... and do the VM argument processing from _Jv_CreateJavaVM. Yes, I agree.

regards

Bryce.




More information about the Java mailing list