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

(Startup) First-time reflective static field access should be fast

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta3
    • sparc
    • solaris_7, solaris_8

      Swing uses reflection to access values for it's key bindings. Under the new reflection mechanism this causes ~40 classes to be generated -- which slows application startup. The mechanism to access these fields could be changed to use a new "unsafe" entry point. This should speed up first-time access to static files, and improve Swing startup time.

            kbr Kenneth Russell (Inactive)
            stewilso Steve Wilson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: