[jboss-jira] [JBoss JIRA] (JGRP-1981) Request.execute() acquires unneeded lock

Bela Ban (JIRA) issues at jboss.org
Thu Nov 19 08:59:00 EST 2015


Bela Ban created JGRP-1981:
------------------------------

             Summary: Request.execute() acquires unneeded lock
                 Key: JGRP-1981
                 URL: https://issues.jboss.org/browse/JGRP-1981
             Project: JGroups
          Issue Type: Enhancement
            Reporter: Bela Ban
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 3.6.7


{{Request.execute()}} at one point calls {{responsesComplete()}} which calls {{ConditionVar.waitFor()}}, and both methods acquire the lock. The first lock acquition is not required.
The effect is minimal as acquiring an already acquired lock is cheap.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list