osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2456: ARTEMIS-2198 Reduce GC pressure on Tran...


GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2456

    ARTEMIS-2198 Reduce GC pressure on TransactionImpl and OperationalContextImpl

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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-2198

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2456.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 #2456
    
----
commit cc68161334f7fb694554b64a4ec621a6423920a5
Author: Francesco Nigro <nigro.fra@...>
Date:   2018-12-07T09:36:29Z

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

----


---