Bug 1448441 - Use non-growing buffered input stream in TcpTransport
Summary: Use non-growing buffered input stream in TcpTransport
Status: NEW
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.6.0,6.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 6.6.2
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 1374440
TreeView+ depends on / blocked
 
Reported: 2017-05-05 12:23 UTC by wfink
Modified: 2017-05-05 12:33 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker ISPN-7802 Major Resolved Use chunked reads/writes in TcpTransport 2017-07-24 23:37 UTC

Description wfink 2017-05-05 12:23:26 UTC
The buffering implementation of TcpTransport.socketOutputStream needs to use fixed size input buffer, rather than growing as BufferedInputStream does. Growing buffer can lead to excessive memory consumption on heap, and more importantly, by direct memory allocated in JDK classes and pooled in thread-local caches.


Note You need to log in before you can comment on or make changes to this bug.