Bruce J Schuchardt created GEODE-7245:
-----------------------------------------

             Summary: Remove most uses of latestViewReadLock in 
GMSMembershipManager
                 Key: GEODE-7245
                 URL: https://issues.apache.org/jira/browse/GEODE-7245
             Project: Geode
          Issue Type: Improvement
          Components: membership
            Reporter: Bruce J Schuchardt


Changes for GEODE-7196 made the latestView immutable so there is no reason, in 
most cases, to use the latestViewReadlock when accessing the view.  A simple 
volatile read of the field & storing the value in a method variable can replace 
most uses of the latestViewReadLock, especially those uses that are in the path 
of sending or receiving messages.

Performance could be measured with our benchmarks to see if this change helps.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to