Hi,
The netty-tcnative is based on the 1.1.x so the porting taking more than
excepted.
I would like some comments on the class caching for performances like in
ssl.c:
+++
TCN_FREE_CSTRING(engine);
+
+ /* Cache the byte[].class for performance reasons */
+ clazz = (*e)->FindClass(e, "[B");
+ byteArrayClass = (jclass) (*e)->NewGlobalRef(e, clazz);
+
+ /* Cache the String.class for performance reasons */
+ sClazz = (*e)->FindClass(e, "java/lang/String");
+ stringClass = (jclass) (*e)->NewGlobalRef(e, sClazz);
+
return (jint)APR_SUCCESS;
}
+++
Should I just put or have a flag in configure for it?
Cheers
Jean-Frederic
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org