Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2855

MessageDispatcher.cast() always grows array

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.4.1
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The passed-in array of destinations is copied, but the copy starts with empty elements data, so - when elements are added - it needs to grow.
      Change: create an ArrayList (or FastArray) with the same capacity as the original list.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: