java - Does ehcache cache use virtual machine memory?
大家讲道理
大家讲道理 2017-06-23 09:13:46
0
1
987

Does the ehcache cache use virtual machine memory or other memory? Is the bottom layer of ehcache map? How does he implement caching?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all (1)
仅有的幸福

ehcache is divided intoon-heapandoff-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 asList

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!