Locking cleanup for management objects
--------------------------------------

                 Key: QPID-1088
                 URL: https://issues.apache.org/jira/browse/QPID-1088
             Project: Qpid
          Issue Type: Improvement
          Components: C++ Broker
    Affects Versions: M3
            Reporter: Ted Ross
            Assignee: Ted Ross
            Priority: Minor
             Fix For: M3


A recent change to the management code generator caused excessive locking 
during the increment and decrement of counter statistics in management objects.

This update does the following:

1) Change RW locks in management objects to Mutexes
2) Remove locking for increment and decrement operations on counters
3) Provide user access to the management object mutex
4) Add higher-level locking in the broker::Queue class to protect all counter 
operations as a block.

There should now be only one lock taken out for management during the 
production or consumption of a message.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to