[
https://issues.apache.org/jira/browse/AMQ-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated AMQ-4010:
-----------------------------
Attachment: after.png
before.png
Screenshots from jvisualvm with a cpu profiler enabled on the broker. When a
client sends a lot messages to it over tcp.
> Use pre compiled patterns for JMX ObjectName encoder
> ----------------------------------------------------
>
> Key: AMQ-4010
> URL: https://issues.apache.org/jira/browse/AMQ-4010
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 5.6.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 5.7.0
>
> Attachments: after.png, before.png
>
>
> Using string replaceAll does not cache the regexp, and would need to compile
> on each invocation.
> Its thus better to use a pre compiled pattern if possible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira