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

Component.reshape can be more than 15% more expensive in 1.4 vs 1.3.1

    XMLWordPrintable

Details

    • b30
    • sparc
    • solaris_7

    Description

      It appears there were a handful of changes to reshape in 1.4 that are
      really effecting performance for Swing apps, especially the rapidly blinking
      table ones.
      The changes that appear to be effecting this are:
      1. Walking the containment hierarchy determining if we need to invoke repaint. At the least this should stop if one of the parents isn't visible.
      2. The egregious hack in enabledOnToolkit.

      I will also mention that because of 1, swing now has unnecessary code as it will invoke repaint as well. Ideally there would be API for this so that Swing could override it appropriately.

      Attachments

        Activity

          People

            ssisunw Ssi Ssi (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: