You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2024/06/19 17:54:00 UTC
[jira] [Closed] (ARTEMIS-4810) Maps of URLs can reduce the performance in ReloadManagerImpl.java
[ 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-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact