Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.3
-
None
-
Patch Available
-
Patch
Description
A bounded alternative to TMemoryBuffer that uses java.nio.ByteBuffer under the hood.
This is useful both to set sane constraints on maximum message size in a transport-agnostic manner but also because direct buffers can be used to serialize Thrift off-heap, avoiding allocations (thus reducing GC frequency and potentially live set size)
Attachments
Issue Links
- is depended upon by
-
IMPALA-3708 Consider using DirectByteBuffers to pass serialized structs to frontend
- Open
- links to