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

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

Commit 56197f2cbf672720abbc55d6aa3eb7a3933280cc in geode's branch 
refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=56197f2 ]

GEODE-7435 - Improve performance of GMSMembershipManager.handleOrDefe… (#4373)

* 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.

* re-enabled check in handleOrDeferMessage

* moved return statement into startup-queue block

* empty commit


> 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
>             Fix For: 1.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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