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

Bela Ban (JIRA) issues at jboss.org
Thu Dec 17 04:05:00 EST 2015


     [ https://issues.jboss.org/browse/JGRP-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1981.
----------------------------
    Resolution: Rejected


Removing the lock would not be correct

> 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