Does the ehcache cache use virtual machine memory or other memory? Is the bottom layer of ehcache map? How does he implement caching?
仅有的幸福2017-06-23 09:15:46
ehcache is divided into on-heap and off-heap.
on-heap uses jvm memory and can be managed by the JVM's GC.
off-heap does not use jvm memory and is configured and managed by itself through ehcache.
ps: You can think of cache as List<Map>