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

Nimbus initialization is too slow

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        It was shown that avoiding Nimbus initialization saves about 10% of startup of simple FX apps.
        E.g. here are data from Dmitry's experiment:

        > In the meantime, the difference between initializing Nimbus L&F and not during startup is about 11% on my system for FXFramer: 2.24s vs 2.0s .

        This is significant chunk of time. Expecially because many FX applications barely need Nibmus as they do not use standard Swing components.

        There are some efforts to delay nimbus initialization on FX side. But these are workarounds and it will be always possible to defeat them. Nimbus startup has to be optimized.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  peterz Peter Zhelezniakov
                  Reporter:
                  igor Igor Nekrestyanov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: