你能保证 GC 执行吗?

不能虽然你可以调用 System.gc() 或者 Runtime.gc(),但是没有办法保证 GC

的执行

原文地址:https://www.cnblogs.com/programb/p/13018810.html