You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Dmitry Konstantinov (JIRA)" <ji...@apache.org> on 2015/07/11 17:04:04 UTC
[jira] [Updated] (ARIES-1319) Reduce memory allocation in
org.apache.aries.blueprint.proxy.Collaborator class
[ https://issues.apache.org/jira/browse/ARIES-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Konstantinov updated ARIES-1319:
---------------------------------------
Affects Version/s: blueprint-core-1.4.3
> 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, blueprint-core-1.4.3
> Reporter: Dmitry Konstantinov
> Labels: perfomance
>
> 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)