Re: [hibernate-dev] Runtime efficiency: sharing some profiling output

2012-10-02 Thread Steve Ebersole
Whiting" >> , "Will Reichert" , "Hibernate" >> >> Sent: Tuesday, October 2, 2012 1:43:51 PM >> Subject: Re: [hibernate-dev] Runtime efficiency: sharing some profiling >> output >> >> See c

Re: [hibernate-dev] Runtime efficiency: sharing some profiling output

2012-10-02 Thread Steve Ebersole
On 10/02/2012 03:00 PM, Sanne Grinovero wrote: >>> # DefaultEntityAliases.intern >>> Why are we interning this? >>> org.hibernate.loader.DefaultEntityAliases.intern(String[]) >>> If they are constants, I guess they could be reused rather than >>> re-computed all the time.. in fact, see next point

Re: [hibernate-dev] Runtime efficiency: sharing some profiling output

2012-10-02 Thread Sanne Grinovero
On 2 October 2012 20:43, Steve Ebersole wrote: > See comments inline... > > > On Tue 02 Oct 2012 01:13:39 PM CDT, Sanne Grinovero wrote: > >> # IdentityMap >> Some performance is lost in the well known >> org.hibernate.engine.internal.StatefulPersistenceContext; especially >> the IdentityMap and i

Re: [hibernate-dev] Runtime efficiency: sharing some profiling output

2012-10-02 Thread Steve Ebersole
See comments inline... On Tue 02 Oct 2012 01:13:39 PM CDT, Sanne Grinovero wrote: > # IdentityMap > Some performance is lost in the well known > org.hibernate.engine.internal.StatefulPersistenceContext; especially > the IdentityMap and it's need for System.identityHashCode is > demanding. > New i