You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/03/22 09:08:00 UTC

[jira] [Resolved] (WICKET-6962) Use singletons for PanelMarkupSourcingStrategy

     [ https://issues.apache.org/jira/browse/WICKET-6962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Tzvetanov Grigorov resolved WICKET-6962.
-----------------------------------------------
    Resolution: Duplicate

> Use singletons for PanelMarkupSourcingStrategy
> ----------------------------------------------
>
>                 Key: WICKET-6962
>                 URL: https://issues.apache.org/jira/browse/WICKET-6962
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>    Affects Versions: 9.8.0
>            Reporter: Thomas Heigl
>            Assignee: Thomas Heigl
>            Priority: Major
>         Attachments: image-2022-03-21-18-17-15-694.png
>
>
> My latest heapdump contained millions of instances of {{{}PanelMarkupSourcingStrategy{}}}:
> !image-2022-03-21-18-17-15-694.png|width=839,height=24!
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)