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

Generated Reflection Classes at Swing Startup

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: core-libs
    • Labels:

      Description

      In attempting to debug the slowdown in Swing startup time we have observed that up to 218 classes of the form sun.reflect.Generated*Accessor* are generated and loaded at startup time. This is surely a contributor to the slowdown in Swing startup time and needs to be investigated.

      Added an atachement with testcase for invoking 500 different methods by reflection. The testcase demonstrates the performance regression betwen JDK 1.3.1 and 1.4

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: