Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-11882

ReflectionUtils slow down application startup on WebSphere

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.1.1, 3.2.4
    • Fix Version/s: 3.2.10, 4.0.6, 4.1 RC1
    • Component/s: Core
    • Labels:
    • Last commented by a User:
      true

      Description

      On WebSphere application server (multi-node config) spring context initialization is very slow, our application has big classpath that causes classloader to be quite slow(see WAS_startup.png). After adding cache to ReflectionUtils.findMethod and AnnotationUtils.findAnnotation (see patch.patch) spring context seems to initialize a lot faster (see ReflectionUtils.png and AnnotationUtils.png).

        Attachments

        1. AnnotationUtils.png
          AnnotationUtils.png
          17 kB
        2. patch.patch
          5 kB
        3. ReflectionUtils.png
          ReflectionUtils.png
          23 kB
        4. WAS_startup.png
          WAS_startup.png
          57 kB

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              jonny23 Anton Zukovskij
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 30 weeks, 2 days ago