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

Rob Godfrey commented on QPID-6840:
-----------------------------------

Commit 1714237 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1714237 ]

QPID-6480 : Address review comments from [~lorenz.quack]

> [Java Broker] Interleave calls to processPending with attempts to write 
> outstanding data
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-6840
>                 URL: https://issues.apache.org/jira/browse/QPID-6840
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Lorenz Quack
>             Fix For: qpid-java-6.0
>
>
> Currently NonBlockingConnection.doWork() completes all "pending" work before 
> attempting a write, and then processes incoming network reads.
> Instead we should ensure that once we have enough data to fill the send 
> buffer, we should perform a network write.  If we cannot write out enough 
> data to the wire, we should stop processing pending work (which will 
> consuming direct memory which cannot be reclaimed until the buffers are 
> written).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to