[infinispan-issues] [JBoss JIRA] (ISPN-1309) Provide a way to use Flags without resorting to a ThreadLocal

Sanne Grinovero (Closed) (JIRA) jira-events at lists.jboss.org
Thu Jan 5 18:43:09 EST 2012


     [ https://issues.jboss.org/browse/ISPN-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero closed ISPN-1309.
---------------------------------

    Resolution: Duplicate Issue

    
> Provide a way to use Flags without resorting to a ThreadLocal
> -------------------------------------------------------------
>
>                 Key: ISPN-1309
>                 URL: https://issues.jboss.org/browse/ISPN-1309
>             Project: Infinispan
>          Issue Type: Feature Request
>            Reporter: Sanne Grinovero
>            Assignee: Manik Surtani
>
> A brief performance analysis highlighted a significant impact on performance because of the use of ThreadLocals to hold the enabled flags in the current context.
> We should check these findings with a proper test and provide an alternative way, ideally one which doesn't need to lookup in the flagHolder either (avoid both the put and the get in the threadlocal).
> We'll need a method which returns a new Cache instance having the mentioned Flags always implicitly added to the invocation context. I think it would be fine in such an alternative implementation to not support dynamic flags.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list