Commit graph

6 commits

Author SHA1 Message Date
Roland
a964843843 move akka-io project into akka-actor’s akka.io package 2013-01-30 09:30:59 +01:00
Mathias
f138dbd6b4 Add missing copyright header, smaller cleanups 2013-01-23 15:19:03 +01:00
Johannes Rudolph
91548c7375 Revert "in DirectByteBufferPool keep buffers by soft reference" 2013-01-21 15:52:19 +01:00
Johannes Rudolph
9c9508d76f improve DirectByteBufferPool and some smaller fixes
* dispatch Closed events to the sender of the close command as well
 * DirectByteBufferPool changes:

     * hide behind BufferPool interface
     * only return buffers of the configured size
     * reduce work to be done while locked
     * use Array-based stack to store free buffers instead of linked lists
     * keep buffers by soft reference
2013-01-21 14:45:19 +01:00
Mathias
7384e07d9b improvements from the first round of feedback, see #2885 and #2887 2013-01-17 17:31:08 +01:00
Johannes Rudolph
7d89aefb63 use a direct buffer pool for buffers needed for channel.read/write
The major advantage of this approach is that a Write is only copied once
into its direct buffer and this direct buffer is kept until it is written
fully.
2013-01-17 14:46:21 +01:00