[slf4j-dev] [JIRA] (SLF4J-240) BasicMarker.hasReferences() causes a performance bottleneck

QOS.CH (JIRA) noreply-jira at qos.ch
Thu Feb 23 22:35:00 CET 2017


     [ https://jira.qos.ch/browse/SLF4J-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gülcü resolved SLF4J-240.
------------------------------
    Resolution: Fixed

 Fixed in commit [c6e1c3d495|https://github.com/qos-ch/slf4j/commit/c6e1c3d495d19c636aa9].

> BasicMarker.hasReferences() causes a performance bottleneck
> -----------------------------------------------------------
>
>                 Key: SLF4J-240
>                 URL: https://jira.qos.ch/browse/SLF4J-240
>             Project: SLF4J
>          Issue Type: Bug
>          Components: Core API
>    Affects Versions: 1.6.x
>         Environment: Operating System: Linux
> Platform: Other
>            Reporter: Ralph Goers
>            Assignee: Ceki Gülcü
>             Fix For: 1.7.24
>
>         Attachments: BasicMarker.jpg
>
>
> We have a MarkerFilter declared as a TurboFilter. During performance testing it was discovered that this is a significant bottleneck due to the method being synchronized. I've attached a screenshot from YourKit that shows that 47% of the time is being spent in this method.



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the slf4j-dev mailing list