Java虚拟器垃圾回收机制

什么是垃圾回收机制?

A garbage collector is responsible for

  • allocating memory
  • ensuring that any referenced objects remain in memory, and
  • recovering memory used by objects that are no longer reachable from references in executing code.
Read More