> -----Original Message-----
> From: Daniel Wirtz [mailto:[EMAIL PROTECTED]
>
> Yes they have, but only if there is a way to pass some memory contents
> from
> one to another application (or the OS). To take advantage of this, we may
> need to hack the JVM and maybe the OS's network implementation I think.

If I understand you correctly, then apart from the kernel-level implications of 
zero-copy reads, such a facility to bring bytes into the JVM without a copy has 
existed in the JNI spec since Java 1.4.
http://java.sun.com/javase/6/docs/technotes/guides/jni/spec/functions.html#nio_support

Note that this is an optional part of the JNI specification. So some vendors 
may not support it.

Isn't this how org.apache.tomcat.jni.Pool is implemented?

-karl

Reply via email to