Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-240

BasicMarker.hasReferences() causes a performance bottleneck

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 1.6.x
    • Fix Version/s: 1.7.24
    • Component/s: Core API
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: Other

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              rgoers@apache.org Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: