[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5684?page=c...
]
Steve Ebersole updated HHH-5684:
--------------------------------
Description:
javassist.util.proxy.ProxyFactory maintains a cache of proxy classes generated.
Apparently it does this based on a static variable. First and foremost, this cache is
completely unnecessary given how Hibernate creates and uses these proxy classes. Second
there is some conjecture that this might possibly contribute to permgen leaks.
Here is an example of leveraging Javassist without using its ProxyFactory:
http://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld...
was:javassist.util.proxy.ProxyFactory maintains a cache of proxy classes generated.
Apparently it does this based on a static variable. First and foremost, this cache is
completely unnecessary given how Hibernate creates and uses these proxy classes. Second
there is some conjecture that this might possibly contribute to permgen leaks.
Change Javassist usage to not use javassist.util.proxy.ProxyFactory
-------------------------------------------------------------------
Key: HHH-5684
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5684
Project: Hibernate Core
Issue Type: Improvement
Reporter: Steve Ebersole
Fix For: 4.0.0.Alpha2
javassist.util.proxy.ProxyFactory maintains a cache of proxy classes generated.
Apparently it does this based on a static variable. First and foremost, this cache is
completely unnecessary given how Hibernate creates and uses these proxy classes. Second
there is some conjecture that this might possibly contribute to permgen leaks.
Here is an example of leveraging Javassist without using its ProxyFactory:
http://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld...
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira