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

Bela Ban (JIRA) issues at jboss.org
Wed Nov 25 06:40:00 EST 2015


    [ https://issues.jboss.org/browse/JGRP-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133699#comment-13133699 ] 

Bela Ban commented on JGRP-1981:
--------------------------------

Ditto for {{GroupRequest.get()}} and {{UnicastRequest.get()}}

> 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