Status of Anno Class loader with constant patches?
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 )
a replacement for a simple ldc bytecode. Are you thinking that hotspot
efficient in optimizing this?
I like it theoretically, as I don't have to mess with the class loader,
the overhead be acceptable?
happy new year
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlvm-dev