How does garbage collection work?
垃圾收集如何工作?
Making sense of garbage collection data
了解垃圾收集数据的意义
Then, examine the garbage collection logs.
然后,研究垃圾收集日志。
How does the change impact garbage collection?
更改如何影响垃圾收集?
This is when garbage collection becomes unavoidable.
这时候就不可避免要进行垃圾收集。
Garbage Collection (GC) is to memory management.
垃圾回收(GC)之于内存管理。
Significantly improved garbage collection performance.
大大改进了垃圾回收的效率。
They also describe the garbage collection trace settings.
这些指南还描述了垃圾回收跟踪设置。
A garbage collection should last no more than 1-2 seconds.
垃圾回收持续时间应不超过1 - 2秒。
They also include the following garbage collection issues
他们总包括以下GC问题
The JVM is effectively paused during the garbage collection run.
在运行垃圾收集期间,JVM实际上会暂停。
Impact of JVM garbage collection on performance and scalability.
J VM垃圾收集对性能和可伸缩性的影响。
Using garbage collection to simplify memory management for lists.
使用垃圾收集器来简化列表的内存管理。
Verbose garbage collection is not as verbose as the name suggests.
详细垃圾收集并非像其名称暗示的那样详细。
Garbage collection can have a big effect on application performance.
垃圾收集对应用程序的性能具有很大影响。
We also recommend that you enable verbose garbage collection tracing.
我们还建议启用详细的垃圾收集跟踪。
JVM heap size parameters directly influence garbage collection behavior.
jvm堆大小参数将直接影响垃圾收集行为。
OK, so which of these approaches does the JDK take for garbage collection?
那么JDK 使用了哪种方式进行垃圾收集呢?
The most straightforward garbage collection strategy is reference counting.
最直观的垃圾收集策略是引用计数。
The first line in the example above indicates a garbage collection occurred.
上面示例中的第一行指示发生了一次垃圾收集。
To understand this, the first thing you need to check is garbage collection.
要理解这一点,首先需要检查的是垃圾收集。
Obviously, a lot of garbage collection can really slow down your application.
显然,大量的垃圾收集可以真正减慢应用程序的运行速度。
What percentage of the total available CPU time is spent in garbage collection?
总的可用CPU时间用在垃圾收集上的百分比是多少?
It turns out that for most objects, the direct garbage collection cost is — zero.
对于多数对象来说,直接垃圾收集的成本为零。
The eden space shows new objects that have never been through garbage collection.
Eden空间显示了从未通过垃圾收集的新对象。
Either way, your JVM's output will now include the garbage collection information.
无论采用哪种方法,JVM的输出现在都会包含垃圾收集信息。
The next line indicates the same information, but denotes a full garbage collection.
第二行指示相同的信息,但表示一个完整的垃圾收集。
Excessive garbage collection (GC) is a common cause of poor application performance.
过度的垃圾收集(Garbage Collection,GC)是性能低下的一个普遍原因。
Excessive garbage collection (GC) is a common cause of poor application performance.
过度的垃圾收集(Garbage Collection,GC)是性能低下的一个普遍原因。
应用推荐