Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5363

new URL(string) suffers under concurrency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • framework-5.4.0
    • framework-5.6.1
    • Framework
    • None

    Description

      Under moderate concurrency (25threads) and frequent use of new java.net.URL(string) a bottleneck was seen with yourkit. In one test involving HTML page generation new URL(url) was seen to take 20% of time (via yourkit).

      This was tracked to org.apache.felix.framework.URLHandlers.getFrameworkFromContext() URLHandlers.java which accounted for 99% of the time used by new URL(url).

      Attachments

        1. Merged-callees.csv
          2 kB
          Rob Ryan

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              rryan@adobe.com Rob Ryan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: