Hi, Have you noticed a perf difference in your application with and without the patch? I am wondering if modern VMs have catched up with what Javassist does.
On 26 mai 2010, at 18:29, Кирилл Кленский wrote: > 1. I have noticed that > org.hibernate.bytecode.javassist.BulkAccessorFactory.findAccessors(...) is > searching for accessor methods in the optimized entity class only. This > means that the methods from the superclasses are not visible during > BulkAccessor creation unless overridden by child classes. By enhancing the > algorithm to search down the inheritance tree we could avoid creation of > redundant methods which increase the code verbosity a lot. In our case > almost all the entities are inherited from the base classes having the > common entity properties defined, so the reflection optimization does not > work for any of them until we override the inherited methods in all the > child classes. The implementation is trivial, but I have got a ready > prototype if anybody is interested. _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev