Hi guys,
FYI - I have done what I could verifying that the change in HHH-525 is
safe.
- static initializers are called once
- AllTests run (except for the always failing query tests ;)
And it really has an effect.
100 classes with 100 properties:
before: 25 sec
now: 13 sec.
And this is also verified by the guys at this thread:
http://forum.hibernate.org/viewtopic.php?p=2245109#2245109
Only known downside is that it probably will run slower on older VM's (1.3
and downwards), but that
I haven't verified. But twice as fast startup on jdk 1.4 and onwards is
something I think is worth that "risk".
Again, this is a small change in a very central place in hibernate so
please report if you see anything
"weird" after using this (I don't think there will be, otherwise alltest
should fail hard, but it doesn't)
Thanks to Juozas Baliuka for this fix!
/max
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel