commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Sitnikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CONFIGURATION-596) Allow Event listeners to be lazily created in event.EventSource
Date Thu, 22 Jan 2015 17:00:38 GMT

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

Vladimir Sitnikov updated CONFIGURATION-596:
--------------------------------------------
    Description: 
It turns out every instance of {{AbstractConfiguration}} creates a couple of {{CopyOnWriteAraryLists}}
for {{event.EventSource}}.

In our usage patterns in most of the cases the lists are not used.

Can the lists be lazy-initialized? (that is created on the first addListener request)

  was:
It turns out every instance of {{AbstractConfiguration}} creates lots of {{CopyOnWriteAraryLists}}
for {{event.EventSource}}.

In our usage patterns in most of the cases the lists are not used.

Can the lists be lazy-initialized? (that is created on the first addListener request)


> Allow Event listeners to be lazily created in event.EventSource
> ---------------------------------------------------------------
>
>                 Key: CONFIGURATION-596
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-596
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Events & Notifications
>    Affects Versions: 1.9
>            Reporter: Vladimir Sitnikov
>
> It turns out every instance of {{AbstractConfiguration}} creates a couple of {{CopyOnWriteAraryLists}}
for {{event.EventSource}}.
> In our usage patterns in most of the cases the lists are not used.
> Can the lists be lazy-initialized? (that is created on the first addListener request)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message