Enquire Now

Tags: direct-buffer

In Java, direct buffer is usually used with channels and native I/O routines. It's out of JVM heap and gc operation. It's more expensive to create than non-direct buffer, and better create for large and long-live buffer. The io operation could be better on direct buffer than non-direct buffer, though it's platform and jvm implementation dependent.

0 Questions