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

new URL(string) suffers under concurrency

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment