Therefore, to use this method of garbage collection, the collector must be integrated with the programming language.
因此,为使用这种垃圾收集方法,垃圾收集器必须与编程语言集成在一起。
This will give you information on the frequency, timing, and duration of garbage collection operations.
这会使您得到垃圾收集操作的频率、定时和持续时间等信息。
Garbage collection works in a number of configurable ways through the deferred page space allocation policy.
可以通过延迟的分页空间分配策略以多种可配置的方式执行垃圾收集。
It also provides a toolbar button to force the JVM to perform garbage collection when desired.
它还提供了一个工具栏按钮,必要时可以强制JVM执行垃圾收集。
A second, less obvious, way is to choose a policy that maximizes the benefits of garbage collection.
第二种不是很明显的方法是选择能够最大化垃圾收集的益处的策略。
This approach is preferred when garbage collection for the servant region JVM is reasonable and acceptable.
当服务区域JVM的垃圾收集合理和可接受时,此方法是首选的方法。
During the garbage collection process the garbage collector often moves objects to different locations in the heap.
在垃圾收集过程中,垃圾收集器经常吧对象移动到堆中的另外一个位置。
Sorting objects like this allows the garbage collector to examine fewer objects, making each garbage collection quicker.
这样的对象分类允许垃圾收集器检验更少的对象,使每次垃圾收集速度更快。
From this simplistic definition of garbage collection, you can deduce that the system is not doing any application work while garbage collection is happening.
根据这个简化的垃圾收集定义可以推断出,在执行垃圾收集时系统不会执行任何应用程序工作。
The tool is useful for diagnosing performance issues, particularly issues related to heap sizing and garbage collection.
该工具有助于诊断性能问题、与堆大小和垃圾收集有关的特殊问题。
Next, understand your application's garbage collection requirements and tune the JVM accordingly.
接下来,了解应用程序的垃圾收集需求并相应地调整J VM。
However, too much garbage collection can and will have an adverse effect on your application's performance.
然而,过于频繁的垃圾收集可能、并且将会对您的应用程序的性能产生反作用。
This will increase CPU cycles with garbage collection of UI objects.
这会随着UI对象的垃圾收集而增加CPU周期。
Normally, the file system operates very quickly, but when garbage collection is required, performance slows down.
一般情况下,这种文件系统非常快,但是一旦需要进行垃圾收集,性能就会慢下来。
In effect, as the nursery is made larger, the overall time spent in garbage collection drops.
事实上,随着托儿所空间增大,垃圾收集所需的总时间会随之降低。
By arranging for most objects to survive less than one collection, garbage collection can be very efficient.
通过安排大多数对象的存活期不超过一个收集周期,垃圾收集可以变得非常有效。
The JVM also requires priorities for internal threads for special purposes such as garbage collection (GC).
JVM还需要对内部线程使用优先级以达到一些特殊目的,比如垃圾收集(GC)。
This provides a good balance of higher garbage collection intervals and lower pause times, which results in a small amount of time spent in garbage collection.
这在较长垃圾收集间隔时间与较短暂停时间之间达到了平衡,从而减少了垃圾收集所花费的时间。
Enable verbose garbage collection logging in your JVM, which will start logging garbage collection activity.
在JVM中启用详细垃圾收集日志记录,这会开始记录垃圾收集活动。
See Resources for a number of articles offering more detailed garbage collection tuning advice.
有关微调垃圾收集的更多细节请参阅参考资料中的几篇文章。
Figure 3 charts the garbage collection intervals for each of the four heap sizes.
图3展示了四种堆大小的垃圾收集间隔时间。
Your tuning efforts in this area involve making sure the heap can grow to the size your application needs and tuning the garbage collection parameters to avoid the effects of heavy garbage collection.
这方面的调优包括确保堆可以增长到应用程序需要的大小,以及通过调整垃圾收集参数避免垃圾收集的影响过大。
The LPGC provides garbage collection in parallel to the JVM's work.
LPGC提供与JVM的工作并行的垃圾收集功能。
The garbage collection logs also indicate the time at which the collection appears and the length of time the garbage collection takes.
垃圾收集日志还会指出发生垃圾收集的时间以及垃圾收集花费的时间。
This code retrieves an instance from the pool, avoiding the memory allocation, construction, and eventual garbage collection.
代码从池中检索到一个实例,从而避免了内存分配、构建和最终的垃圾回收。
The default value of 2 specifies that garbage collection occurs irrespective of the limits.
默认值2指定垃圾收集的发生不考虑限制。
Class garbage collection is enabled by default, which removes classes when they don't have any live instances remaining.
类垃圾回收在缺省情况下是启用的,它负责删除不再拥有任何活动实例的类。
JDK 1.4.1 also includes numerous options for tuning garbage collection.
JD K1.4.1还包括大量的微调垃圾收集的选项。
To optimally handle these different sorts of workloads, different garbage collection strategies are required.
要以最佳方式处理这些不同种类的工作负载,则需要使用不同的垃圾收集策略。
Next it shows overall garbage collection stats.
接着,它展示了总体的垃圾收集统计信息。
应用推荐