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

Use singletons for PanelMarkupSourcingStrategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 9.8.0
    • None
    • 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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: