netty/netty — pull request #3289 by normanmaurer (2014-12-22 21:04:54+00:00)
Title: Only call JNI methods if really needed

Motivation:

Calling JNI methods is pretty expensive, so we should only do if needed.

Modifications:

Lazy call methods if needed.

Result:

Better performance.