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

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

XMLWordPrintable

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

      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.

              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: