These areas allow tasks to use memory without being required to block if the garbage collector needs to free memory in the heap.
如果垃圾收集器需要释放堆中的内存,则这些内存区域将允许任务使用内存而不需要中断任务。
Heap size and application utilization are important tuning options to consider when running an application on a real-time garbage collector.
在实时垃圾收集器上运行应用程序时,堆大小和应用程序利用率是要考虑的重要调优选项。
By matching the GC policy used to the type of workload and choosing suitable heap parameters, the impact of garbage collection on the application can be reduced.
通过匹配工作负载类型及其使用的GC策略并选择适当的堆参数,应该能够减少垃圾收集对应用程序的影响。
You should, however, fix the nursery size at a large value to minimise time spent in garbage collection, and enable the tenured heap to resize itself according to occupancy to build in resilience.
但是,您应该将托儿所堆大小固定为一个较大的值,以最小化垃圾收集花费的时间,增强保留区堆,使其根据占用率重置自身大小,从而提高弹性。
For the performance study, we configured the appropriate garbage collection algorithm, page size and heap size on each OS and hardware configuration tested.
关于那份性能评价,我们在两个操作系统以及硬件平台上都仔细地调整了垃圾收集算法、页和堆的大小。
One such extension is a mechanism for applications to manage areas of memory outside of the heap and avoid delays that are caused by garbage collection (GC).
用于应用程序管理堆外内存区域和避免垃圾收集(GC)导致的延迟的机制就是一个此类的扩展。
During the garbage collection process the garbage collector often moves objects to different locations in the heap.
在垃圾收集过程中,垃圾收集器经常吧对象移动到堆中的另外一个位置。
A process known as garbage collection, run by the JVM, marks all known created objects and then cleans the rest of the heap for further allocations.
jvm会运行一个称为垃圾收集的过程,垃圾收集标出所有创建的对象,然后清理堆的其余部分供以后的分配使用。
Garbage collection (GC) reclaims portion of the heap by removing objects not referenced by any other object in the heap.
垃圾收集(GC)通过删除堆中其他任何对象不再引用的对象来回收一部分堆。
The tool is useful for diagnosing performance issues, particularly issues related to heap sizing and garbage collection.
该工具有助于诊断性能问题、与堆大小和垃圾收集有关的特殊问题。
As a result, performance can degrade as the decreased available heap memory leads to more frequent garbage collection.
因此,随着可用堆内存的减少而导致更频繁的垃圾回收,性能可能会降低。
In a very similar case, jobs that complete very quickly or allocate very few objects might be able to run without requiring a garbage collection with an appropriate sized heap.
另一种类似情况是,如果作业很快完成或只分配很少的对象,那么只要堆大小适当,作业运行就不需要垃圾收集。
The degree to which the pause times will affect response times is also determined by the heap size and frequency of garbage collection.
停顿时间将影响响应时间的程度也是由堆的大小和垃圾收集的频率决定的。
Another problem that is more general would be an expanding heap that never seems to shrink, despite active garbage collection.
另一个更普遍的问题是,看似从不会压缩的扩展堆,却有活跃的垃圾收集。
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.
如果堆和应用程序的内存使用量很接近,那么垃圾收集器必须非常频繁地收集堆,这会导致性能损失。
Increasing the JVM heap size permits more objects to be created before an allocation failure occurs and triggers a garbage collection.
通过增加jvm堆大小,可以在出现分配故障并触发垃圾收集之前创建更多对象。
JVM heap size parameters directly influence garbage collection behavior.
jvm堆大小参数将直接影响垃圾收集行为。
This can get rid of the sawtooth pattern often seen for the managed heap size in.net-based applications, and reduces the time an application spends performing garbage collection.
这可以消除基于.NET的应用程序中托管堆大小常见的锯齿模式,并且减少了应用程序为执行垃圾回收而花费的时间。
A full garbage collection involves the JVM examining all objects on the heap, including those that have survived many generations, that would not be analyzed on partial garbage collections.
完整的垃圾收集涉及JVM对堆上所有的对象进行检验,包括经历了许多代、在部分垃圾收集上不会被分析的对象。
Figure 3 charts the garbage collection intervals for each of the four heap sizes.
图3展示了四种堆大小的垃圾收集间隔时间。
A genuine native-memory leak manifests as a continual growth in native heap that doesn't drop when load is removed or when the garbage collector runs.
真正的本机内存泄漏表现为本机堆持续增加,当负载移除或垃圾收集器运行时仍然不降低。
Using the default GC policy, the IBM JVM will consume the entire heap before invoking garbage collection.
在使用默认的GC策略的情况下,IBMJVM 在耗尽所有堆之后才调用垃圾回收。
The JVM may continue growing the heap rather than wait for a garbage collection cycle to complete.
JVM可能继续增大堆,而不等待一个垃圾收集周期的完成。
As you would expect, this results in the objects to which the handles point being eligible for deletion from the heap by the garbage collector.
如你所愿,这将导致句柄指向的对象被垃圾收集器从堆上删除。
A generational garbage collector divides the heap into multiple generations; most JVMs use two generations, a "young" and an "old" generation.
分代垃圾收集器把堆分成多代;多数JVM使用两代,“年轻代”和“年老代”。
The time spent in GC pauses for the mark and sweep phases of a garbage collection are based on the number of live objects on the heap.
用于垃圾收集的标记和清扫阶段的GC暂停时间基于堆上的活动对象的数量。
The result is that garbage collection will need to be performed in order to reclaim space in the heap.
结果是需要执行垃圾收集以便回收堆中的空间。
If garbage collection is occurring more than once every 10 seconds, or the heap utilization is running more than 70% of the heap, then you'll want to consider increasing the heap size.
如果垃圾回收每10秒发生超过一次,或者堆利用率超过堆的70%,那么可以考虑增加堆大小。
HotSpot recognizes many command line options, several of which allow you to customize heap size and garbage collection options.
HotSpot识别许多命令行选项,其中几个选项允许您定制堆大小和垃圾收集选项。
Health Center collects comprehensive method profiles with an extremely low overhead, highlights contended locks, analyzes garbage collection and heap usage, and visualizes class loading activity.
HealthCenter以极低的开销收集广泛的方法摘要,突出显示争用锁,分析垃圾收集和堆使用情况,可视化类加载行为。
应用推荐