-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
The current bundler impls use a byte[] array in an output stream as buffer into which messages are written.
If we instead used a direct byte buffer (off-heap), the JDK would not create an additional copy but simply pass the contents to the corresponding socket. This would reduce the memory allocation rate.
Direct buffers can also be used on the receiver side, investigate.
- is related to
-
JGRP-2108 TCP_NIO2: make default
- Open