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: Speaking of runtime options


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.



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