Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6963

Use singletons for PanelMarkupSourcingStrategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.8.0
    • 10.0.0-M1, 9.9.0, 9.9.1, 9.10.0
    • wicket-core
    • None

    Description

      My latest heapdump contained millions of instances of PanelMarkupSourcingStrategy:

      This class is completely stateless and only takes a single boolean constructor parameter. We should replace current instances by a factory method and two singletons.

      Attachments

        Issue Links

          Activity

            People

              thomas.heigl Thomas Heigl
              thomas.heigl Thomas Heigl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: