[
https://issues.apache.org/jira/browse/ARIES-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622246#comment-14622246
]
Guillaume Nodet commented on ARIES-1319:
----------------------------------------
Do you mind creating a patch ?
> Reduce memory allocation in org.apache.aries.blueprint.proxy.Collaborator
> class
> -------------------------------------------------------------------------------
>
> Key: ARIES-1319
> URL: https://issues.apache.org/jira/browse/ARIES-1319
> Project: Aries
> Issue Type: Improvement
> Components: Blueprint
> Affects Versions: blueprint-core-1.4.2
> Reporter: Dmitry Konstantinov
>
> In case of intensive usage there is an memory and CPU overhead in
> org.apache.aries.blueprint.proxy.Collaborator which can be easy eliminated:
> 1) Stack has a thread safety overhead, it can be replaced by ArrayDeque, the
> stack is used in a single thread
> 2) In case of there are no interceptors - it make sense to not allocate each
> time a Stack object. The reference can be set to null or a static immutable
> empty stack value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)