garbage collector的意思|示意
n. 清除垃圾的人;清洁工
garbage collector的用法详解
'
Garbage Collector is a piece of computer programming code which is responsible for freeing up memory space on a computer by cleaning out objects which are no longer being used. The Garbage Collector works by seeking out and collecting unused objects. The main purpose of Garbage Collection is to make sure that memory resources remain available for reuse.
The Garbage Collector can work in a number of ways, but the most common way is Automatic Garbage Collection. This is where the Garbage Collector runs by itself, freeing up memory which is no longer being used. This can be done in a number of different ways, such as by running through the memory and seeking out unused or unreachable objects, or by using a tracing algorithm which looks at objects and follows the paths to determine if they are still being used.
Another way of using the Garbage Collector is Manual Garbage Collection. This requires human interaction, and is used when the user needs to manually clean up memory space. This is usually done when objects become too large or are no longer being used. This can be done by either deleting the objects manually, or by instructing the Garbage Collector to do the cleaning up for you.
No matter which way Garbage Collection is used, it is an important process that ensures that memory resources remain available for reuse. Without Garbage Collection, a computer will quickly become full of objects which are not being used, making it difficult for the computer to run efficiently and quickly.
'garbage collector相关短语
1、 Boehm garbage collector 贝姆垃圾收集器
2、 The Galactic Garbage Collector 银河垃圾清理员
3、 detachable container garbage collector 车厢可卸式垃圾车
4、 generational garbage collector 比较完善,垃圾回收器
5、 asynchronous garbage collector 异步无用单元收集程序,异步废料收集器
6、 Parallel Garbage Collector 并行垃圾回收器
7、 Garbage Collector GC 垃圾收集器
8、 Garbage Collector Statistics 内存收集器的统计信息
9、 A garbage collector 垃圾收集工