[infinispan-issues] [JBoss JIRA] Created: (ISPN-1417) Inefficient and unnecessary clearing of looked up entries when a context is reset

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Sep 26 06:36:27 EDT 2011


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

                 Key: ISPN-1417
                 URL: https://issues.jboss.org/browse/ISPN-1417
             Project: Infinispan
          Issue Type: Bug
          Components: Core API
    Affects Versions: 5.0.1.FINAL
            Reporter: Manik Surtani
            Assignee: Manik Surtani
             Fix For: 5.1.0.BETA1, 5.1.0.FINAL


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list