Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2694

Fix Performance hog: Maps and sets of URLs

    XMLWordPrintable

    Details

      Description

      When .equals or .hashcode is called on a URL it is a blocking operation that requires internet.

      OpenmrsClassLoader.findResources and .getResources, and ModuleClassLoader.cacheLibrary both add URLs to Maps or get it from sets.

      These should be changed to operations on the URL.toURI instead.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                raff Rafal Korytkowski
                Reporter:
                bwolfe Ben Wolfe
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: