Hiroshi Ikeda created HBASE-14874:
-------------------------------------
Summary: BufferChain.write is restricted to write just a chunk,
but it might be ineffective
Key: HBASE-14874
URL: https://issues.apache.org/jira/browse/HBASE-14874
Project: HBase
Issue Type: Improvement
Reporter: Hiroshi Ikeda
Priority: Minor
I understand that the restriction is for reducing to create direct buffers
inside sun.nio.ch.IOUtil.write when passing non-direct buffers, but the method
seems to prepare a direct buffer for each non-direct byte buffer. That means it
is off the point that BufferChain adjusts the total size to write.
Of course it depends on VM implementation, and I just find the source of
openjdk-7: http://www.docjar.com/html/api/sun/nio/ch/IOUtil.java.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)