garbage collector
n. 清除垃圾的人;清洁工
2026-04-13 07:01 浏览次数 19
n. 清除垃圾的人;清洁工
asynchronous garbage collector异步无用单元收集程序
garbageman清洁工
detachable container garbage collector车厢可卸式垃圾车
A garbage collector垃圾收集工
Chinatown Garbage Collector华埠收垃圾
Garbage Collector Ergonomics垃圾收集策略
garbage e collector无用单元收集程序
sweeper清洁工;清扫夫;清扫器
Boehm garbage collectorIn computer science, the Boehm-Demers-Weiser garbage collector, often simply known as Boehm GC, is a conservative garbage collector for C and C++.
incremental garbage collector收集
Garbage Collector GC垃圾收集器
the simplest tuning you can do is to specify a policy and tell the garbage collector whether throughput or pause times are most important.
您可以执行的最简单的调整就是指定一个策略并告诉垃圾收集器是吞吐量重要还是暂停时间最重要。
these logs show what the garbage collector has been doing, in great detail.
这些日志非常详细地展示了垃圾收集器所做过的事情。
further, optimizing away some allocations reduces pressure on the garbage collector and allows collection to run less often.
而且,优化掉一些分配,可以降低垃圾收集器的压力,从而让收集运行得更少。
to achieve these kinds of delays, the garbage collector must be able to plan its work by introducing the concept of an application utilization contract.
为了达到这种延迟级别,垃圾收集器必须能够计划自己的工作,方法是引入应用程序利用契约的概念。
thus the garbage collector can reclaim most of the memory allocated on each loop, but it can「t reclaim the arrays that are added to the list.
因此,垃圾收集器可以回收在每个循环上分配的大多数内存,但它不能回收添加到列表中的数组。
these areas allow tasks to use memory without being required to block if the garbage collector needs to free memory in the heap.
如果垃圾收集器需要释放堆中的内存,则这些内存区域将允许任务使用内存而不需要中断任务。
while the garbage collector does a good job at figuring out what memory the application is using and not using, it is up to the application to decide the most appropriate use for the available memory.
尽管垃圾收集器在找出哪些内存在由应用程序使用哪些没在使用方面做得很好,但是确定可用内存的最适当使用还是取决于应用程序。
if the heap is close to the memory usage of the application, the garbage collector has to collect the heap too often, and performance suffers.
如果堆和应用程序的内存使用量很接近,那么垃圾收集器必须非常频繁地收集堆,这会导致性能损失。
however, applications are still vulnerable to leaks if they incorrectly hold on to object references, as the garbage collector will not collect objects that are still referenced.
但是,如果应用程序没有正确地持有对象引用,则仍然有可能会泄露,因为垃圾收集器将不会收集仍然被引用的对象。
during the garbage collection process the garbage collector often moves objects to different locations in the heap.
在垃圾收集过程中,垃圾收集器经常吧对象移动到堆中的另外一个位置。
if you suspect a program is leaking memory, you can use this garbage collector to keep the process size down.
如果您怀疑某个程序正在泄漏内存,那么您可以使用这个垃圾收集器来控制进程。
consider what happens if the garbage collector runs after line //1 of listing 3 but before line //2 executes.
请考虑一下,如果垃圾收集器在清单3的行 //1之后但在行 //2执行之前运行会怎样。
this feature dramatically reduces the risk of memory leaks, which are a serious problem when the default garbage collector is disabled.
在禁用默认的垃圾收集器时内存泄漏是一个严重的问题,这个特性会显着降低内存泄漏的风险。
there are also many interesting statistics about the garbage collector itself.
还有许多关于垃圾收集器本身的有趣的统计信息。
if the application makes poor decisions as to what objects to retain, performance can suffer as the garbage collector has to work harder to prevent the application from running out of memory.
如果应用程序做出了不好的决定,使得对象被保持,那么性能会受到影响,因为垃圾收集器必须更加辛勤地工作,以防止应用程序消耗掉所有内存。
if response time is more important than highest possible throughput, this garbage collector might be a good choice.
如果响应时间比最高流量更重要,这个垃圾收集器可能是一个不错的选择。
this way, the garbage collector will obtain more breathing space, decreasing the probability of a full gc.
通过这种方式,垃圾收集器将获得更多空间并减少完全gc的可能性。
because of these memory issues, i」ll assume in the remainder of the article that there is a garbage collector with the programs.
由于这些内存问题,在本文的其余小节中,我将假定该程序使用了一种垃圾收集器。
no event is necessary for this scope because objects associated with it are released by the garbage collector rather than object managers.
这个范围不需要事件,因为与它相关联的对象由垃圾收集器释放,而不是由对象管理器负责。
sorting objects like this allows the garbage collector to examine fewer objects, making each garbage collection quicker.
这样的对象分类允许垃圾收集器检验更少的对象,使每次垃圾收集速度更快。
the garbage collector sorts objects by generation, with each generation denoting a certain number of garbage collections the object has survived.
垃圾收集器按代对对象进行分类,每代都指示对象已经经历了一定次数的垃圾收集。
weak references tell the garbage collector that it should collect an object if there are no references to it other than the weak reference.
弱引用告诉垃圾收集器如果某个对象除了弱引用之外没有其他任何引用,则应该收集该对象。