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

ASF subversion and git services commented on PROTON-1756:
---------------------------------------------------------

Commit d1e6771994dbf2aba20adea008b43f4f3b81f26f in qpid-proton-j's branch 
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=d1e6771 ]

PROTON-1756 Reuse callback for send of Transfer frames

Reduce GC pressure by not allocating new Runnables on each call to send
a Transfer into the Frame writer.

> [Proton-J] Runnable created on every Transfer frame send
> --------------------------------------------------------
>
>                 Key: PROTON-1756
>                 URL: https://issues.apache.org/jira/browse/PROTON-1756
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>    Affects Versions: proton-j-0.25.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Trivial
>             Fix For: proton-j-0.26.0
>
>
> On each outbound Transfer frame the TransportImpl creates a new Runnable to 
> handle overflow which sets the more value on the Transfer and rewrites the 
> frame body.  We can use a single instance to handle this and reduce the 
> amount of garbage create on send.



--
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