[
https://issues.apache.org/jira/browse/ARTEMIS-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16571646#comment-16571646
]
ASF subversion and git services commented on ARTEMIS-1997:
----------------------------------------------------------
Commit e55549b944e5808e074535a2804c53a679c93ecf in activemq-artemis's branch
refs/heads/2.6.x from [~teaandcoffee]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=e55549b ]
ARTEMIS-1997 - un-needed SimpleString creation on hotpath with Filters
Create the SimpleString on construction of PropertyExpression so it can be
re-used instead of creating it every time its filtered in the FilterImpl
(cherry picked from commit 332cee8e663e729e2af274715cf0e1911a320297)
> Filters cause unneeded SimpleString creation on hotpath
> -------------------------------------------------------
>
> Key: ARTEMIS-1997
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1997
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Reporter: Michael Andre Pearce
> Assignee: Michael Andre Pearce
> Priority: Major
>
> Currently when a filter is used, every property key needed is creating a
> SimpleString property key, even though this static for the life of the
> property expression.
> Creating the SimpleString at construction of the PropertyExpression would
> remove this.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)