-
Sub-task
-
Resolution: Delivered
-
P4
-
8u102, 9
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8177825 | 8u102 | Clifford Wayne | P4 | Closed | Delivered |
The system property `jdk.nio.maxCachedBufferSize` has been introduced in <version> to limit the memory used by the "temporary buffer cache". The temporary buffer cache is a per-thread cache of direct memory used by the NIO implementation to support applications that do I/O with buffers backed by arrays in the java heap. The value of the property is the maximum capacity of a direct buffer that can be cached. If the property is not set then no limit is put on the size of buffers that are cached. Applications with certain patterns of I/O usage may benefit from using this property. In particular if an application does I/O with large multi-megabyte buffers at startup but therefore does I/O with small buffers may see a benefit to using this property. Applications that do I/O using direct buffers will not see any benefit to using this system property.
- backported by
-
JDK-8177825 Release Note: Ability to limit the capacity of buffers that can be held in the temporary buffer cache
-
- Closed
-