From: Steve E. (JIRA) <no...@at...> - 2006-02-27 09:16:38
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236?page=all ] Steve Ebersole updated HHH-1236: -------------------------------- Fix Version: 3.1.3 3.2.0.alpha1 While it may not be a bug, it does in fact contribute to the inability of the classloader to get cleanly released. And there is no need for it. There is absolutely no code in Hibernate that actually uses that overloaded DTDEntityResolver constructor, thus there is really no reason at all to even keep a ref to the classloader > Remove static reference to classloader, to avoid memory leak at webapp reload > ----------------------------------------------------------------------------- > > Key: HHH-1236 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1236 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.0.5 > Environment: Resin 3.0.15, CGLib 2.1_3 > Reporter: Mattias Jiderhamn > Assignee: Steve Ebersole > Fix For: 3.1.3, 3.2.0.alpha1 > Attachments: OptimizeIt.jpg > > > To avoid memory leaks when web applications reload, please either remove reference to classloader in org.hibernate.util.DTDEntityResolver or remove static reference to that class in org.hibernate.util.XMLHelper > For background information, please see > http://forum.hibernate.org/viewtopic.php?p=2275217#2275217 > http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > and attached screen shot -- 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 |