[logback-dev] [JIRA] Updated: (LBCLASSIC-153) Excessive synchronization in ReconfigureOnChangeFilter.decide

Anders Wallgren (JIRA) noreply-jira at qos.ch
Sat Sep 12 21:52:36 CEST 2009


     [ http://jira.qos.ch/browse/LBCLASSIC-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Wallgren updated LBCLASSIC-153:
--------------------------------------

    Attachment: screenshot-1.jpg

Monitor contention on a 4-cpu run in YourKit profiler.

> Excessive synchronization in ReconfigureOnChangeFilter.decide
> -------------------------------------------------------------
>
>                 Key: LBCLASSIC-153
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-153
>             Project: logback-classic
>          Issue Type: Bug
>    Affects Versions: 0.917
>            Reporter: Anders Wallgren
>            Assignee: Logback dev list
>         Attachments: screenshot-1.jpg
>
>
> The synchronization in ReconfigureOnChangeFilter.decide hurts scalability.
> It seems unnecessary to serialize the code in changeDetected -- it should be possible to use atomic updates of nextCheck and lastModified and only serialize the actual reconfiguration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list