-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.9.3
-
Fix Version/s: 0.10.0
-
Component/s: Java - Library
-
Labels:None
-
Patch Info:Patch Available
-
Flags:Patch
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)
- is depended upon by
-
IMPALA-3708 Consider using DirectByteBuffers to pass serialized structs to frontend
-
- Open
-
- links to