Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16368

Reduce heap size of ResourceDescriptor instances

XMLWordPrintable

      ResourceDescriptor contains several HashMap/HashSet instances, each with an initial capacity of 16. Given that most of these maps will only contain a small number of entries, and given that a ResourceDescriptor exists per clustering resource, we should prefer a more compact map/set implementation, e.g. TreeMap/TreeSet, and only create these when necessary.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: