Grails
  1. Grails
  2. GRAILS-8080

Optimize ReloadAwareAutowireCapableBeanFactory.autowireBeanProperties performance

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M2
    • Fix Version/s: 2.0-RC1
    • Component/s: None
    • Labels:
      None

      Description

      ReloadAwareAutowireCapableBeanFactory.autowireBeanProperties performance is critical for overall Grails performance. All GORM domain class instances are autowired when they are loaded from the database or even from 2nd level cache.

      I found a single performance optimization that helps autowiring existing beans in autowire by name mode.

      BeanWrapperImpl registers a lot of property editors by default. These property editors are not used when an existing bean is autowired by name.
      It's possible to disable registering property editors in this case.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Lari Hotari
              Reporter:
              Lari Hotari
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last Reviewed:

                Development