]
Bela Ban resolved JGRP-1575.
----------------------------
Resolution: Done
View members should be always unmodifiable
------------------------------------------
Key: JGRP-1575
URL:
https://issues.jboss.org/browse/JGRP-1575
Project: JGroups
Issue Type: Enhancement
Affects Versions: 3.1, 3.2
Reporter: Gray Watson
Assignee: Bela Ban
Priority: Minor
Fix For: 3.3
Right now the members list inside of the View is mutable. Everytime someone calls
getMembers() it creates another Collections.unmodifiableList.
In my opinion, in the View constructor, members should be a final
Collections.unmodifiableList from the start. This would save GC throughput on all of the
wrapper objects.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: