Garbage collection (GC) reclaims portion of the heap by removing objects not referenced by any other object in the heap.
垃圾收集(GC)通过删除堆中其他任何对象不再引用的对象来回收一部分堆。
The JVM also requires priorities for internal threads for special purposes such as garbage collection (GC).
JVM还需要对内部线程使用优先级以达到一些特殊目的,比如垃圾收集(GC)。
This naturally enables the application to run for a longer period of time between garbage collection (GC) cycles.
这通常可以让应用程序增加各垃圾收集(GC)周期之间的间隔时间。
There are several reasons why you might wish to take a closer look at the garbage collection (GC) in an application.
鉴于以下这些原因,您可能需要仔细查看应用程序中的垃圾收集 (GC)。
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)导致的延迟的机制就是一个此类的扩展。
Figure 2 illustrates a situation where serialization affects the garbage collection (GC) of classes and a class loader in an unexpected way.
图2演示了一个场景,在这个场景中,序列化以一种意料之外的方式影响了类的垃圾收集(GC)。
Aside from adding RAM, or at least ensuring that you have sufficient RAM for a 64-bit JVM, you'll also need to spend time tuning the garbage collection (GC) algorithm for the JDK in use.
除了添加RAM(或至少确保拥有64位JVM所需的足够RAM)外,还将需要花时间调整所使用的JDK的垃圾回收(GC)算法。
Aside from adding RAM, or at least ensuring that you have sufficient RAM for a 64-bit JVM, you'll also need to spend time tuning the garbage collection (GC) algorithm for the JDK in use.
除了添加RAM(或至少确保拥有64位JVM所需的足够RAM)外,还将需要花时间调整所使用的JDK的垃圾回收(GC)算法。
应用推荐