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

ASF GitHub Bot commented on QPIDJMS-417:
----------------------------------------

GitHub user franz1981 opened a pull request:

    https://github.com/apache/qpid-jms/pull/22

    QPIDJMS-417 Reduce GC pressure while using BytesMessage

    Using directly ByteBuf-based streams allows to avoid
    unnecessary creations of intermediate instances to
    operate on the underline ByteBuf content

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

    $ git pull https://github.com/franz1981/qpid-jms QPIDJMS-417

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

    https://github.com/apache/qpid-jms/pull/22.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 #22
    
----
commit e58904ad28dca3d0f9ca3ff7f2c8b01f29a33b4d
Author: Francesco Nigro <nigro.fra@...>
Date:   2018-10-10T13:35:56Z

    QPIDJMS-417 Reduce GC pressure while using BytesMessage
    
    Using directly ByteBuf-based streams allows to avoid
    unnecessary creations of intermediate instances to
    operate on the underline ByteBuf content

----


> Reduce GC pressure while using BytesMessage
> -------------------------------------------
>
>                 Key: QPIDJMS-417
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-417
>             Project: Qpid JMS
>          Issue Type: Improvement
>          Components: qpid-jms-client
>    Affects Versions: 0.37.0
>            Reporter: Francesco Nigro
>            Priority: Trivial
>             Fix For: 0.38.0
>
>
> JmsBytesMessage::initializeReading() creates DataInputStream that allocates 
> several byte[] and char[] even when no methods need them.
> Using directly the underline ByteBufInputStream would reduce the amount of 
> garbage created while reducing the indirections needed to hit the underline 
> ByteBuf that hold the data.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to