Pardon as this is slightly off-topic, but does anyone know where to get (buildable)
sources for cglib 2.2?
2.1_3's Enhancer.getCallbacksSetter() (that is called by CGLIbProxyInitalizer)
reflects on target class, and as that calls is made every time a proxy created, the cost
of reflection starts to add up. I'd like to cache results of that method in a
hashmap.
Thanks,
-nikita
-----Original Message-----
From: Steve Ebersole [mailto:steven.ebersole@gmail.com] On Behalf Of Steve Ebersole
Sent: Friday, May 29, 2009 9:01 AM
To: hibernate-dev(a)lists.jboss.org
Cc: Nikita Tovstoles
Subject: RE: [hibernate-dev] Why cglib was replaced with javassist?
Its more than just inactivity. As projects mature you expect some
inactivity; its just the nature of the beast. What was more the issue
was our attempts to contact the developers going unanswered. We tried
for over a year to contact the CGLIB developers about this need for a
release and got no response at all. That's when this decision was made.
See this JIRA case and its links for the history here:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2222
You might also want to check out
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3832
which is the upgrade to the since released CGLIB 2.2
On Fri, 2009-05-29 at 08:32 -0700, Nikita Tovstoles wrote:
Concern over CGLIB's inactivity is certainly valid. However, our
internal load-testing of javassist (a few months back) revealed that the library's
perf characteristics aren't quite ready for prime time. In some cases, our system
performed 2x faster with cglib v. javassist. I don't recall the exact reason why, but
possibly this was due to excess synchronization in javassist code (I could be wrong about
this though).
-nikita
-----Original Message-----
From: hibernate-dev-bounces(a)lists.jboss.org
[mailto:hibernate-dev-bounces@lists.jboss.org] On Behalf Of Chris Bredesen
Sent: Friday, May 29, 2009 7:30 AM
To: hibernate-dev(a)lists.jboss.org
Subject: Re: [hibernate-dev] Why cglib was replaced with javassist?
First result from a search in JIRA reveals this....
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2506
So I think that's your answer :)
-CB
Unmesh joshi wrote:
> hi,
>
> Till hibernate 3.2 cglib was default bytecode provider. why was it
> changed to javassist?
>
> thanks,
> unmesh
>
> ------------------------------------------------------------------------
> MSN Battles We pitch one stalwart against the other and give you the
> power. Who will you vote for? Share photos while you chat with Windows
> Live Messenger. <
http://battles.in.msn.com/>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev --
Steve Ebersole <steve(a)hibernate.org>
Hibernate.org