You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/12/14 21:05:00 UTC

[jira] [Commented] (ARTEMIS-2198) Reduce GC pressure on TransactionImpl and OperationContextImpl

    [ https://issues.apache.org/jira/browse/ARTEMIS-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721783#comment-16721783 ] 

ASF subversion and git services commented on ARTEMIS-2198:
----------------------------------------------------------

Commit 2716a7be88d314bb71b620dc981a1609f680e7bb in activemq-artemis's branch refs/heads/master from [~nigro.fra@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=2716a7b ]

ARTEMIS-2198 Reduce GC pressure on TransactionImpl and OperationContextImpl

TransactionImpl::properties are often not used and could be
avoided to be allocated.
OperationContextImpl.TaskHolders instances are turned into static
classes to avoid refecencing back the context, making the life
easier for the GC.
OperationContexImpl volatile loads can be reduced to make the
code faster on the hot path.


> Reduce GC pressure on TransactionImpl and OperationContextImpl
> --------------------------------------------------------------
>
>                 Key: ARTEMIS-2198
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2198
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Minor
>
> TransactionImpl and OperationalContextImpl could be improved by reducing the size and amount of objects created



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)