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

Immutables should be optimised for more set implementations

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: