On 01/04/2015 12:24, Robert Stupp wrote:
Yes, GC and also that a Socket write is a potentially blocking operation. Some VMs do have a way of pinning objects in the heap (beyond JNI critical sections) but it is not assumed here.Is it because of pausing GC otherwise?
If you do socket I/O with direct buffers then it doesn't need a temporary area of memory for the I/O.
-Alan.