From: Martin S. (JIRA) <no...@at...> - 2006-07-10 16:27:56
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-227?page=comments#action_23586 ] Martin Schulz commented on HHH-227: ----------------------------------- Can someone kindly patch the distributed properties template files, or does that require yet another new bug? diff -rbu hibernate-3.2-orig/etc/hibernate.properties hibernate-3.2.0cr3/etc/hibernate.properties --- hibernate-3.2-orig/etc/hibernate.properties 2006-07-06 11:37:46.000000000 -0400 +++ hibernate-3.2.0cr3/etc/hibernate.properties 2006-07-10 11:48:04.000000000 -0400 @@ -374,7 +374,7 @@ #hibernate.use_identifer_rollback true -## enable bytecode reflection optimizer (disabled by default) +## enable CGLIB reflection optimizer (disabled by default) #hibernate.bytecode.use_reflection_optimizer true diff -rbu hibernate-3.2-orig/etc/hibernate.properties.template hibernate-3.2.0cr3/etc/hibernate.properties.template --- hibernate-3.2-orig/etc/hibernate.properties.template 2006-07-06 11:37:46.000000000 -0400 +++ hibernate-3.2.0cr3/etc/hibernate.properties.template 2006-07-10 11:48:08.000000000 -0400 @@ -359,9 +359,9 @@ #hibernate.use_identifer_rollback true -## enable CGLIB reflection optimizer (enabled by default) +## enable CGLIB reflection optimizer (disabled by default) -#hibernate.cglib.use_reflection_optimizer false +#hibernate.bytecode.use_reflection_optimizer true > remove reflection optimizer > --------------------------- > > Key: HHH-227 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-227 > Project: Hibernate3 > Type: Improvement > Components: core > Reporter: Juozas Baliuka > Assignee: amit bhayani > Priority: Minor > Fix For: 3.2.0 cr1 > Attachments: Environment.java > > > Probably it is a good time to drop "reflection_optimizer" (or to dissable it by default), SUN JVM generates code since jdk 1.4.2 to optimize native calls in reflection itself, double code generation just wastes memory (cglib is bit faster, but difference is too trivial to be usefull for data access). > This stuff confuses users. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |