2006/12/5, Rana Dasgupta <[EMAIL PROTECTED]>:
On 12/4/06, Xiao-Feng Li <[EMAIL PROTECTED]> wrote:
>
> On 12/4/06, Mikhail Fursov <[EMAIL PROTECTED]> wrote:
> > On 12/2/06, Xiao-Feng Li <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > At the same time, I wonder if that's better for JIT to check the
> > > finalizable property for VM helper as well. I guess this can be easier
> > > for VM helpers since they are GC independent with standard interface.
> > > Only guess anyway, how do you think, Mikhail?
> > >
Agreed. Looks more efficient for JIT to do the metainfo checking to inline
fast helper or else call the slow helper. No need to set additional bit etc.
For correctness, I presume here JIT == any ExecutionEngine,
interpreter included. Otherwise this checking cannot be moved out of
GC, as Xiao-Feng pointed.
--
Alexey