From these timestamps, you can also calculate the percent of time that the system spends in garbage collection, which you can use to compare various JVM Settings.
根据这些时间戳,还可以计算出系统在垃圾收集方面花费的时间百分比,可以用这个指标比较各种JVM设置。
From this simplistic definition of garbage collection, you can deduce that the system is not doing any application work while garbage collection is happening.
根据这个简化的垃圾收集定义可以推断出,在执行垃圾收集时系统不会执行任何应用程序工作。
Knowing how much time your system spends in GC is all well and good, but how does more time spent doing garbage collection actually affect the performance of your system?
了解您的系统将多少时间花费在垃圾收集上,这是很有必要的,但是将过多的时间花费在垃圾收集上将会对系统的性能产生怎样的影响呢?
In a hybrid system, where both garbage collection and reference counting are being used, leaks occur because the system fails to identify a circular reference.
在同时使用了垃圾收集和引用计数的混合系统中,将会发生泄漏,因为系统不能正确识别循环引用。
Normally, the file system operates very quickly, but when garbage collection is required, performance slows down.
一般情况下,这种文件系统非常快,但是一旦需要进行垃圾收集,性能就会慢下来。
Based on the program's allocation rate, the system attempts to predict when the next garbage collection will be required.
根据程序的分配速度,系统试图预测下次需要执行垃圾收集的时间。
Thus, garbage collection will occur more frequently, and, finally, the portal system will become unresponsive.
这样,会导致垃圾回收更频繁,而最终将使门户系统停止响应。
Note that when the file system is mounted, a user-space program called nilfs_cleanerd is also started to provide garbage collection services.
注意,当挂载文件系统时,会启动一个用户空间程序 nilfs_cleanerd,以提供垃圾收集服务。
Introduced with JVM v1.3 for all operating system platforms is the concept of generational garbage collection.
针对所有操作系统平台的生成的垃圾收集(generational garbage collection)概念在JVMV1.3中被引入。
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.
如果系统中存在正在排队等候的任务,那么系统的响应时间可能会受到排队时间的控制,而不是垃圾收集停顿时间。
Figure 7 shows a system under load and the garbage collection results during the test.
图7显示了测试期间,在负载和垃圾收集情况下的系统的结果。
It provides detailed information about the JVM, including total uptime, threading information, classes loaded, memory statistics, garbage collection, and operating-system information.
它提供了有关JVM的详细信息,包括总的运行时间、线程信息、装载的类、内存统计信息、垃圾收集和操作系统信息。
And then the intelligent garbage collection (GC) is given, which is extracted form the design of the real-time system.
然后介绍了一种“软”实时技术,智能垃圾收集方案,该方案是在设计过程中提出的实时性解决方案。
Similarly, more garbage collections occur when a system is under heavy load, which makes it more likely that a garbage collection will occur before the callback.
同样道理,系统负载过大时会发生更多垃圾回收,进而使得垃圾回收更有可能在回调之前发生。
Similarly, more garbage collections occur when a system is under heavy load, which makes it more likely that a garbage collection will occur before the callback.
同样道理,系统负载过大时会发生更多垃圾回收,进而使得垃圾回收更有可能在回调之前发生。
应用推荐