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

Optimise SkinBase property change handling

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6, 8
    • javafx

      Two ideas:

      1) The SkinBase class creates a new WeakChangeListener every time, but it seems likely that only one is necessary. This won't have a huge impact, but it is likely to save a bit of memory and CPU.
      2) Extract out all property change handling code into a separate class, so that it is only instantiated when required, and usable by classes other than SkinBase subclasses (for example TableColumnHeader which I have just improved with RT-24107).

            jgiles Jonathan Giles
            jgiles Jonathan Giles
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: