[jbosscache-issues] [JBoss JIRA] Commented: (JBCACHE-1494) Lock-per-Fqn option in addition to lock striping, for MVCC

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Mar 18 07:39:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBCACHE-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457876#action_12457876 ] 

Manik Surtani commented on JBCACHE-1494:
----------------------------------------

This is now a configuration option <locking .... useLockStriping="false" /> will disable lock striping.  Note that lock striping is enabled by default though.  Also, with lock striping disabled, concurrencyLevel is meaningless and ignored.

As would be expected, this is also on the Configuration class.

> Lock-per-Fqn option in addition to lock striping, for MVCC
> ----------------------------------------------------------
>
>                 Key: JBCACHE-1494
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1494
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Locking
>    Affects Versions: 3.0.3.GA
>            Reporter: Manik Surtani
>            Assignee: Manik Surtani
>             Fix For: 3.1.0.GA
>
>
> Lock striping, while performant and memory efficient, can lead to deadlocks in certain cases where several fqns map to the same lock.  An alternative where a lock er fqn is used may be desirable.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list