Remi, I've made the vtable + migration to some builtin j.l.* types Do you mind to take a look?
https://github.com/dynjs/dyn.js/blob/master/src/main/java/org/dynjs/runtime/linker/PrimitivesLinker.java https://github.com/dynjs/dyn.js/blob/master/src/main/java/org/dynjs/runtime/linker/VTablePopulator.java#L13 https://github.com/dynjs/dyn.js/blob/master/src/main/java/org/dynjs/runtime/extensions/NumberOperations.java cheers -- qmx On Oct 13, 2011, at 11:34 AM, Rémi Forax wrote: > On 10/13/2011 04:24 PM, Douglas Campos wrote: >> Remi, >>>> By example, for javascript Number, it should be a j.l.Double but with >>>> it's own vtable >> when you talk about having a vtable, you mean the "verified-entrypoint" >> recipe from jsr292 cookbook? (or something into these lines) >> >> So I would be providing "more methods" to a j.l.Double, linking with static >> methods via methodhandles? > > yes, but the vtable of the VEP tailor its method handles in a very > special way, > a vtable storing simple method handles is enough. > >> cheers >> -- qmx > > Rémi > > _______________________________________________ > mlvm-dev mailing list > mlvm-dev@openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev