[ 
https://issues.apache.org/jira/browse/ARTEMIS-4810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram closed ARTEMIS-4810.
-----------------------------------
      Assignee: Justin Bertram
    Resolution: Not A Bug

> Maps of URLs can reduce the performance in ReloadManagerImpl.java
> -----------------------------------------------------------------
>
>                 Key: ARTEMIS-4810
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4810
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Galkin Alexey
>            Assignee: Justin Bertram
>            Priority: Minor
>
> [In line 
> 41|https://github.com/apache/activemq-artemis/blob/main/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/reload/ReloadManagerImpl.java#L41],
>  when creating an associative array registry, you can use java.net.URI 
> instead of java.net.URL to avoid the performance penalty
> {code:java}
> private final Map<URL, ReloadRegistry> registry = new HashMap<>();{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to