[Mono-list] ikvm and Mono 0.20

dietmar dietmar@ximian.com
26 Feb 2003 18:42:47 +0100

On Wed, 2003-02-26 at 17:16, Paolo Molaro wrote:
> On 02/26/03 Varga Zoltan wrote:
> > The problem is with the if (!cfg->share_code) statements in
> > the JIT,
> > which create some vtables at JIT compile time, instead of
> > creating it
> > the first time a static variable/method is accessed. 
> Oh, ok, I guess we'll have to add calls to init the vtable
> any time a static variable is used, possibly doing some of the same
> tricks we use with method calls to reduce to the minimum the overhead
> after the first call. I'll have to think about how best to integrate
> this in the JIT, since I'd like to have an optimization pass remove the
> calls if they are redundand.

Is that really needed? I thought a program should not depend on such

- Dietmar