Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-166

Immutables should be optimised for more set implementations

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.BETA1
    • 4.0.0.ALPHA6
    • None
    • None
    • Low

      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.

              manik_jira Manik Surtani (Inactive)
              manik_jira Manik Surtani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: