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

new URL(string) suffers under concurrency

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: framework-5.4.0
    • Fix Version/s: framework-5.6.1
    • Component/s: Framework
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: