commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: [proxy] and impl
Date Sun, 28 Jul 2013 15:58:10 GMT
Hi

here is a patch implementing proxying using ASM:
https://gist.github.com/rmannibucau/6099063

having the handlers used by default in ProxyFactory protected would avoid
to copy them in ASMProxyFactory.

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/28 Romain Manni-Bucau <rmannibucau@gmail.com>

> Cglib is "almost" dead if i'm right, javassist is alive but not that
> stable and owb is faster ATM and at least would bring an Apache impl
> adapted to [proxy].
>
> Note: the fact to be able to reuse InvocationHandler and not a new API is
> great too
> Le 27 juil. 2013 20:13, "Matt Benson" <gudnabrsam@gmail.com> a écrit :
>
> AFAIK Mark Struberg's work on the OWB proxies could be instructive, and
>> since I've just spent several weeks in ASM hell I might just be a bit of
>> use there myself. The only thing is, isn't cglib built on ASM as well? The
>> dynamic nature of the various proxy helpers means that we probably
>> couldn't
>> really improve on cglib, i.e. only if we could test invocation matching up
>> front while creating the proxy class would we be faster.
>>
>> Matt
>> On Jul 27, 2013 12:22 PM, "Romain Manni-Bucau" <rmannibucau@gmail.com>
>> wrote:
>>
>> > Hehe, we benched in owb but lets wait the porting ;)
>> > Le 27 juil. 2013 16:49, "James Carman" <james@carmanconsulting.com> a
>> > écrit :
>> >
>> > > On Sat, Jul 27, 2013 at 10:34 AM, Romain Manni-Bucau
>> > > <rmannibucau@gmail.com> wrote:
>> > > > Once ill have done the monitoring stuff ill try to work on it.
>> > >
>> > > What would be really cool is to have a "smackdown" once we get ASM
>> > > into the mix to see which one performs the best and exactly how fast
>> > > they are compared to one another.
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> > > For additional commands, e-mail: dev-help@commons.apache.org
>> > >
>> > >
>> >
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message