[hibernate-issues] [Hibernate-JIRA] Moved: (ANN-800) Memory leak in EnumType class.

Paweł Kępka (JIRA) noreply at atlassian.com
Tue Feb 3 05:32:38 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paweł Kępka moved HHH-3747 to ANN-800:
--------------------------------------

    Component/s:     (was: metamodel)
                     (was: core)
            Key: ANN-800  (was: HHH-3747)
        Project: Hibernate Annotations  (was: Hibernate Core)

> Memory leak in EnumType class.
> ------------------------------
>
>                 Key: ANN-800
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-800
>             Project: Hibernate Annotations
>          Issue Type: Bug
>            Reporter: Paweł Kępka
>            Priority: Critical
>
> Holding enum values in static enumValues map in EnumType class causes memory leaks on application server where hibernate is loaded by application server's common classloader (like for default configuration of JBoss4).
> SoftReference or SessionFactory based caching should be used instead. 

-- 
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

       




More information about the hibernate-issues mailing list