[jboss-jira] [JBoss JIRA] (JGRP-2187) (7.0.z) Request.viewChange() implementations should not use View.getMembers()

Bartosz Spyrko-Śmietanko (JIRA) issues at jboss.org
Fri Jun 2 10:29:01 EDT 2017


Bartosz Spyrko-Śmietanko created JGRP-2187:
----------------------------------------------

             Summary: (7.0.z) Request.viewChange() implementations should not use View.getMembers()
                 Key: JGRP-2187
                 URL: https://issues.jboss.org/browse/JGRP-2187
             Project: JGroups
          Issue Type: Bug
            Reporter: Bartosz Spyrko-Śmietanko
            Assignee: Bela Ban
            Priority: Minor
             Fix For: 3.6.12, 4.0


{{Request.viewChange()}} is called once for every request, and {{View.getMembers()}} allocates 2 (small) objects. Both {{UnicastRequest}} and {{GroupRequest}} could use {{View.containsMember()}} instead.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list