[hibernate-dev] Why cglib was replaced with javassist?
Steve Ebersole
steve at hibernate.org
Fri May 29 12:01:14 EDT 2009
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 at lists.jboss.org [mailto:hibernate-dev-bounces at lists.jboss.org] On Behalf Of Chris Bredesen
> Sent: Friday, May 29, 2009 7:30 AM
> To: hibernate-dev at 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 at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Steve Ebersole <steve at hibernate.org>
Hibernate.org
More information about the hibernate-dev
mailing list