Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] mechanical sympathy in netty-4

Hi,

On Wed, Oct 16, 2013 at 2:10 PM, Viktor Szathmary <phraktle@xxxxxxxxx> wrote:
> Hi Jesse,
>
> Yes, I am aware :) The particular technique mentioned here that I found
> interesting was the custom ByteBuffer allocator to reuse buffers. Upon a
> quick look at the source, it seems Jetty is already doing some of this

Some ?
I think we are using pooled ByteBuffer everywhere we can.
Are you referring to a particular place in the code ?

> (though there are use-cases, e.g. Request#getReader, that cause buffer
> allocations).

I am not sure I understand this one.
Request.getReader() does not do any buffer allocations ?

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top