Bug 1448441 - Use non-growing buffered input stream in TcpTransport
Summary: Use non-growing buffered input stream in TcpTransport
Keywords:
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:
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)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-7802 0 Major Resolved Use chunked reads/writes in TcpTransport 2017-07-24 23:37:48 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.