[jbosscache-issues] [JBoss JIRA] (JBCACHE-1609) LegacyRegionManagerImpl#inactivateRegion locks the parent's entire subtree

Dennis Reed (Created) (JIRA) jira-events at lists.jboss.org
Mon Nov 7 16:34:45 EST 2011


LegacyRegionManagerImpl#inactivateRegion locks the parent's entire subtree
--------------------------------------------------------------------------

                 Key: JBCACHE-1609
                 URL: https://issues.jboss.org/browse/JBCACHE-1609
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Locking
    Affects Versions: 3.2.8.GA
            Reporter: Dennis Reed
            Assignee: Dennis Reed


LegacyRegionManagerImpl#inactivateRegion calls lockManager.lockAll on the parent node,
so instead of just locking the parent while the region is inactivated, it locks the parent's
entire subtree (the entire cache if the region is a child of the root).

In combination with JBCACHE-1608, this causes inactivateRegion to lock the parent's entire
subtree and never unlock it.

--
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 jbosscache-issues mailing list