harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@apache.org>
Subject Re: [drlvm][modularity proposal] change current vm/gc query interface for better flexibility and performance
Date Sun, 13 Jan 2008 17:47:45 GMT
On 13 января 2008 Pavel Pervov wrote:
> On 1/13/08, Gregory Shimansky <gshimansky@apache.org> wrote:
> > On 13 января 2008 Pavel Pervov wrote:
> > <SNIP>
> >
> > Then VM can unpack the structure if it can provide some performance
> >
> > > benefits.
> >
> > In this case all calls to GC API would have to use double indirection, as
> > opposed to having a number of function pointers each filled up
> > individually.
> > So I support Xiao-Feng's original approach with initializing each
> > function pointer like in
> >
> > gc_alloc = gc_interface(gc_module, GC_ALLOC);
>
> Just as I said - unpack on VM side.

Ah I didn't read what you wrote attentively. You are right, initializing a 
whole table of pointers is possible with such approach.

-- 
Gregory

Mime
View raw message