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

Inefficient and unnecessary clearing of looked up entries when a context is reset

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.1.0.BETA1, 5.1.0.FINAL
    • 5.0.1.FINAL
    • Core
    • None

    Description

      When a context is reset, some implementations call clear() on the looked up entries map. This can be inefficient in microbenchmarks if a large number of entries have been looked up. Contexts should simply nullify looked up entries and let the collection be gc'd.

      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: