[kaffe] Projects/sub-projects dependancies... Thoughts

Helmer Krämer hkraemer at freenet.de
Sun May 16 03:17:03 PDT 2004


On Sat, 15 May 2004 18:32:39 +0200
Guilhem Lavaux <guilhem.lavaux at free.fr> wrote:

> There will be a slight performance loss for JIT 
> though: currently the JIT is putting the pointers to translated methods 
> directly in the vtable. To be compatible with intrp and other way of 
> handling methods we must put a pointer to Method. 

Why do we have to put a pointer to Method into the vtable to be
compatible? Have you considered modifying intrp so it stores a
pointer to the bytecode in the vtable (and allocates the bytecode
so that GC_getObjectBase(address of some bytecode) returns the
address of the Method* the bytecode belongs to)? And what happens
to xdebugging when the vtable doesn't contain a pointer to the
code of the method?

Regards,
Helmer




More information about the kaffe mailing list