NIO as cache buffer

Interesting idea: If there is need to (due to performance) to cache large number of objects in memory, what if, instead of using java heap to keep objects, elements would be stored in NIO native byte buffer. In theory that should (a) reduce java heap usage, (b) allow better usage of process memory space (i.e….

Read more