Status of Anno Class loader with constant patches?
Mark Roos
mroos at roos.com
Tue Dec 28 10:32:16 PST 2010
Thanks Remi, the extra comments really helped
You also mentioned
>
> There is another way to do something similar,
> you can call invokedynamic, use the bootstrap arguments to send
> the primitive values composing the object value and when the
> BSM is called returns a ConstantCallSite with as target a method handle
> created by MethodHandles.constant().
At first glance this seems like adding a lot of overhead ( a method send )
as
a replacement for a simple ldc bytecode. Are you thinking that hotspot
will be
efficient in optimizing this?
I like it theoretically, as I don't have to mess with the class loader,
but will
the overhead be acceptable?
happy new year
mark roos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20101228/86e44990/attachment.html
More information about the mlvm-dev
mailing list