[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6862) Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible
Strong Liu (JIRA)
noreply at atlassian.com
Wed Nov 30 01:32:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Strong Liu resolved HHH-6862.
-----------------------------
Resolution: Fixed
> Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible
> ----------------------------------------------------------------------------------------
>
> Key: HHH-6862
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6862
> Project: Hibernate Core
> Issue Type: Improvement
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Priority: Minor
> Fix For: 4.0.0.next
>
>
> There are different options to iterate the containers of a StatefulPersistenceContext, and these iteration operations happen frequently.
> Usage of IdentityMap is able to cache cache the array it creates to provide a safe iteration during modifications, so I've collapsed all usage of the PersistenceContext to use less different iteration approaches, and this resulted in a small performance improvement and some code simplification.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list