GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2449
ARTEMIS-2191 Makes PostOfficeImpl::route common paths inlineable
It allows PostOfficeImpl::route to have a better inlining while dealing
with common paths that require to be fast.
It includes some optimisation to reduce the allocations on the hot paths.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis optimized_route
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2449.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2449
----
commit ebdb9b2f193fb3be641e996f9214b1adf29560df
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-12-04T13:14:52Z
ARTEMIS-2191 Makes PostOfficeImpl::route common paths inlineable
Optimized route
commit 47cbc489f3c2ce9381994b72bd4fa43bf7c1d81f
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-12-04T15:04:53Z
ARTEMIS-2191 Makes PostOfficeImpl::route common paths inlineable
Optimized processRoute
----
---