Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304960

ObservableListBase should defer constructing ListChangeBuilder

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • jfx21
    • javafx
    • None
    • b12

    Description

      Analysis of an app with about 1200 Nodes shows 6000 active ListChangeBuilder instances, consuming 0.3-0.6 MB of memory. Simple deferal of the creation reduces this to 2000 instances.

      A lot of lists are never mutated after construction.

      Attachments

        Issue Links

          Activity

            People

              jhendrikx John Hendrikx
              jhendrikx John Hendrikx
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: