dyn.js - invokedynamic-based js implementation
Douglas Campos
qmx at qmx.me
Mon Oct 17 13:50:17 PDT 2011
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 at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list