The nondeterministic effects of GC pauses wreak havoc on an RT application's ability to complete tasks under specific deadlines (see Garbage collection).
GC暂停的不确定性影响将严重破坏RT应用程序在特定时限内完成任务的能力(请参见垃圾收集)。
From the first graph, you see the application had been running for about 100 seconds, so 0.3% of that time had been spent doing garbage collection.
从第一个图形中,您可以看到应用程序运行了大约100秒,所以进行垃圾收集花费了该时间的0.3%。
See Resources for a number of articles offering more detailed garbage collection tuning advice.
有关微调垃圾收集的更多细节请参阅参考资料中的几篇文章。
Since garbage collection is such a vast and complex topic, this article builds on an excellent set of articles already published (see Resources).
因为垃圾收集是一个很大、很复杂的话题,所以本文是在已经发表的一组相关文章的基础上展开讨论(请参阅参考资料)。
If you run your benchmarks with -verbose: gc, you can see how much time was spent in garbage collection and adjust your timing data accordingly.
如果用-verbose:gc开关运行评测,您可以看到在垃圾收集上耗费了多少时间,并相应地调整您的计时数据。
In particular, System.gc does a full garbage collection of all generations using a stop-the-world collector (see Resources).
尤其是,System . gc会用一个stop - the - world收集器对所有代进行一次全面的垃圾收集(参见参考资料)。
Check your JVM for the policies that it supports to see whether using a different policy can improve the balance between throughput and the pauses that garbage collection introduces.
检查您的JVM所支持的策略,看看使用不同的策略是否会改善吞吐量与垃圾收集引入的暂停之间的平衡关系。
You rummage through your plastic bag collection to see which ones you should keep to take to the store and which can be sacrificed to garbage.
你把自己收藏的塑料袋翻来翻去,看哪个应该保留用来带到商店去,那些可以被牺牲扔到垃圾里面去。
For detailed information about preventing garbage collection, see Interop Marshaling with Platform Invoke.
有关防止垃圾回收的详细信息,请参见用平台调用进行互操作封送处理。
For detailed information about preventing garbage collection, see Interop Marshaling with Platform Invoke.
有关防止垃圾回收的详细信息,请参见用平台调用进行互操作封送处理。
应用推荐