[infinispan-issues] [JBoss JIRA] Created: (ISPN-166) Immutables should be optimised for more set implementations

Manik Surtani (JIRA) jira-events at lists.jboss.org
Thu Aug 20 12:02:23 EDT 2009


 Immutables should be optimised for more set implementations
------------------------------------------------------------

                 Key: ISPN-166
                 URL: https://jira.jboss.org/jira/browse/ISPN-166
             Project: Infinispan
          Issue Type: Feature Request
    Affects Versions: 4.0.0.ALPHA6
            Reporter: Manik Surtani
            Assignee: Manik Surtani
             Fix For: 4.0.0.BETA1


Unknown set types go through a lot of scanning - often involving reflection - before a simple copy constructor is used. These include the commonly used:

ConcurrentHashMap$KeySet
ConcurrentHashMap$EntrySet
FastCopyHashMap$KeySet
FastCopyHashMap$EntrySet
Collections$EmptySet
Collections$SingletonSet
Collections$EmptyList
Collections$SingletonList
Collections$EmptyMap
Collections$SingletonMap

these should be treated accordingly to avoid reflection calls.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list