[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5036) Make IntegerType, LongType more efficient

Strong Liu (JIRA) noreply at atlassian.com
Wed Mar 24 16:12:38 EDT 2010


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

Strong Liu resolved HHH-5036.
-----------------------------

      Assignee: Strong Liu
    Resolution: Rejected

As you may know, hibernate 3.5 is JDK 1.4 compatible, so we can't use this valueof method :(

> Make IntegerType, LongType more efficient
> -----------------------------------------
>
>                 Key: HHH-5036
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5036
>             Project: Hibernate Core
>          Issue Type: Improvement
>    Affects Versions: 3.3.1
>            Reporter: Tomas Pollak
>            Assignee: Strong Liu
>
> Currently the get() method for IntegerType and LongType allocate a new object every time. It would improve the memory performance if the calls to the constructors were replaced by Integer.valueOf() and Long.valueOf() respectively.
> Thanks

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