JVM 垃圾回收机制

很全面的一篇文章: https://www.cnblogs.com/aspirant/p/8662690.html

System.gc() : https://www.cnblogs.com/xushuyi/articles/9577957.html

System.gc() 不一定能立即执行垃圾回收,甚至可能不执行

 

posted @ 2019-08-03 15:21  DDiamondd  阅读(106)  评论(0编辑  收藏  举报
TOP