[ 
https://issues.apache.org/jira/browse/GEODE-7435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16981959#comment-16981959
 ] 

ASF subversion and git services commented on GEODE-7435:
--------------------------------------------------------

Commit 2b0afb93b9d0ba5c9ff41a3225b980c028c1986c in geode's branch 
refs/heads/feature/GEODE-7435 from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=2b0afb9 ]

GEODE-7435 - Improve performance of GMSMembershipManager.handleOrDeferMessage

Modified the method to avoid synchronization unless we're in an initialization 
phase.
While initializaing we synchronize and queue messages unless we're told the
queue has been drained.


> Improve performance of GMSMembershipManager.handleOrDeferMessage 
> -----------------------------------------------------------------
>
>                 Key: GEODE-7435
>                 URL: https://issues.apache.org/jira/browse/GEODE-7435
>             Project: Geode
>          Issue Type: Improvement
>          Components: benchmarks, membership
>            Reporter: Jacob Barrett
>            Assignee: Bruce J Schuchardt
>            Priority: Major
>              Labels: performance
>
> GMSMembershipManager.handleOrDeferMessage  serializes all threads on a lock 
> to {{startupLock}}.
> Find lock free mechanism to synchronize these threads only when we are int 
> "startup" phase. After this phase there should be no reason to synchronize 
> and serialize calls.
> Bechmark profiling shows 60% of thread time is spent waiting for this monitor 
> after correcting  GEODE-7434.



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

Reply via email to