direct threaded interpreter

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun May 12 17:56:00 GMT 2002


Tom Tromey wrote:

>>>If nobody much cares about the memory use, then
>>>I'll just check it in.  We can always add the configure-time option
>>>later on if it is needed.
>>>      
>>>
>
>Anthony> Is making this a configure time option a lot of work?  
>
>I dug into it a bit and it turned out to be pretty easy.  It does make
>the interpreter a bit uglier; there are some #ifdefs littered about.
>It isn't too bad, though; mostly it is obvious (to me anyway) why
>things are the way they are.
>  
>

I'd prefer to avoid #ifdef'ing different configurations if possible. Not 
only does it make the code messier but experience tells me that whatever 
configuration is not the default will probibly stop working sooner or 
later. A runtime option would definately be preferred if thats possible.

regards

Bryce.




More information about the Java mailing list