使用断点暂停程序的执行以便检查状态。
Entry:当执行将要输入给定的函数时暂停程序。
Entry: Suspends the program when execution is about to enter the given function.
因此,通过增加堆大小,可以增加GC暂停之间的间隔,从而为应用程序提供更多的执行时间。
So, by increasing the heap size the interval between GC pauses will increase, which will give the application more time to execute.
评估GC的性能影响时,需要检查的最重要的项目是暂停时间和开销:用于进行垃圾收集而不是执行应用程序工作的时间的比例。
When assessing GC's performance effects, the most important items to check are the pause times and the overhead: the proportion of time spent garbage collecting instead of doing application work.
造成此段呈锯齿状的原因同样是因为 GC和应用程序交错执行以便保持低暂停时间。
The sawtooth nature of this section is again because of the interleaving of the GC and application to preserve low pause times.
尽管量子非常的短,如果将一些量子用于执行GC任务,那么应用程序仍然会感觉到较长的暂停时间,这会影响到RT时限。
Although quanta are very short, if several quanta were devoted to GC work, the application could still experience a longer pause time that might jeopardize rt deadlines.
浏览器最初是空的,因为IDE很早就暂停了应用程序的执行。
The browser is initially blank because the IDE has paused execution at the very beginning of the application.
Line:当执行达到给定的源代码行时暂停程序,也可以从源视图中进行创建。
Line: Suspends the program when execution reaches the given source line, and can also be set from the source view.
Address:当执行指针达到程序中一个特定的地址时会暂停一个程序。
Address: Suspends the program when the execution pointer reaches a particular address in the program.
如果将断点设置在节点上,该节点的图标边框变为红色,而且在执行该节点前程序暂停。
If the breakpoint is set on a node, a red border frames the node and execution pauses just before the node executes.
在这种情况下动态翻译是可取的,因为它能传播翻译的开销随着时间的推移,从而减少暂停程序执行。
Dynamic translation is desirable in that case because it can spread the overhead of the translation over time, thus reducing pauses in the program execution.
所谓的并发是在需要第2代收集时,我们可以选择让第2代收集并行地执行或者暂停应用程序的所有线程直到收集结束。
The concurrent is that we can choose whether we do concurrent collection when it is gen 2 collection or suspend all the threads of application until the collection finish.
所谓的并发是在需要第2代收集时,我们可以选择让第2代收集并行地执行或者暂停应用程序的所有线程直到收集结束。
The concurrent is that we can choose whether we do concurrent collection when it is gen 2 collection or suspend all the threads of application until the collection finish.
应用推荐