garbage collection
碎片帐集
2026-04-13 07:02 浏览次数 19
碎片帐集
Garbage Collection overhead垃圾回收花费
garbage collection interval垃圾回收间隔
garbage-collection time垃圾收集时间
time garbage collection实时无用单元收集
Automated Garbage Collection自动垃圾回收
garbage e collection无用单元收集
Conservative garbage collection保守
Force Garbage Collection强制垃圾回收
garbage classified collection垃圾分类收集
in any system where work is queuing up, the response time of the system is likely to be dominated by the queueing time, rather than any garbage collection pauses.
如果系统中存在正在排队等候的任务,那么系统的响应时间可能会受到排队时间的控制,而不是垃圾收集停顿时间。
then, examine the garbage collection logs.
然后,研究垃圾收集日志。
the garbage collection pause times are the most significant delays any threads encounter.
垃圾收集停顿时间是任何线程遇到的最显着的延迟。
regardless of the algorithm chosen, trends in hardware and software have made garbage collection far more practical.
不管选择什么算法,硬件和软件的发展使垃圾收集更具有实用性。
garbage collection has a lot of overhead, as it basically halts the execution of your application so it can examine your objects.
垃圾收集的开销很大,因为本质上它会中止应用程序的执行以便可以检验对象。
the first line in the example above indicates a garbage collection occurred.
上面示例中的第一行指示发生了一次垃圾收集。
from this simplistic definition of garbage collection, you can deduce that the system is not doing any application work while garbage collection is happening.
根据这个简化的垃圾收集定义可以推断出,在执行垃圾收集时系统不会执行任何应用程序工作。
objects referred to by handles within the deleted handle scope are eligible for removal in the next garbage collection if there are no other references to them.
在这个被删除句柄范围中句柄引用的对象如果没有其他的引用的话,将在下一次的垃圾收集中被移除。
garbage collection can have a big effect on application performance.
垃圾收集对应用程序的性能具有很大影响。
figure 7 shows a system under load and the garbage collection results during the test.
图7显示了测试期间,在负载和垃圾收集情况下的系统的结果。
garbage collection (gc) reclaims portion of the heap by removing objects not referenced by any other object in the heap.
垃圾收集(gc)通过删除堆中其他任何对象不再引用的对象来回收一部分堆。
in fact, if you do this, you can use the same ld_preload trick that we used for our simple allocator to enable garbage collection in almost any program on your system.
实际上,如果这样做,您就可以使用与我们在示例分配程序中所使用的相同的 ld_preload技巧,在系统上的几乎任何程序中启用垃圾收集。
garbage collection works in a number of configurable ways through the deferred page space allocation policy.
可以通过延迟的分页空间分配策略以多种可配置的方式执行垃圾收集。
even better, you can run your program for a long, long time, ensuring that you trigger many garbage collections, more accurately amortizing the allocation and garbage collection cost.
更好一些的话,您可以长时间运行您的程序,这可以保证触发许多垃圾收集,从而更精确地分摊垃圾收集的成本。
during the garbage collection process the garbage collector often moves objects to different locations in the heap.
在垃圾收集过程中,垃圾收集器经常吧对象移动到堆中的另外一个位置。
garbage collection (gc) will usually kick in when a memory allocation failure occurs.
当出现内存分配失败的时候,通常将启动垃圾收集 (gc)。
this will give you information on the frequency, timing, and duration of garbage collection operations.
这会使您得到垃圾收集操作的频率、定时和持续时间等信息。
your application might be experiencing long pauses or periods of unresponsiveness, and you might want to identify or rule out garbage collection as the cause of the pauses.
您的应用程序可能经历了长时间的停顿或长的无响应时间,您想要从导致停顿的原因中确定或排除垃圾收集。
verbose garbage collection is not as verbose as the name suggests.
详细垃圾收集并非像其名称暗示的那样详细。
this means that over time, the tenure area will fill up with long-lived objects and a garbage collection of the entire heap will be required.
这意味着随着时间的推移,保留区区域中将塞满了长期存活的对象,最终导致需要对整个堆进行一次垃圾收集。
notice that increasing this value might cost more garbage collection activities if memory allocated for each task is not large enough.
注意,如果给每个任务分配的内存不够大,增加这个值可能会导致更多垃圾收集活动。
garbage collection can be used to help eke out even more memory from your system and help improve the performance in workloads with a range of applications being used concurrently.
垃圾收集有助于从系统中挤出更多内存,有助于提高包含当前正在使用的应用程序的工作负载的性能。
observe the number of major garbage collection cycles that occur during the performance testing and understand the performance implications to the application during these cycles.
请注意在性能测试期间出现的主要的垃圾收集周期的数量并理解在这些周期中对应用程序的性能含义。