通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
注意,所有这些异常是如何捕获的,因此它们不会被向上传播到调用堆栈。
Note how all of the exceptions are caught, so that none of them are propagated upward to the call stack.
NSD在运行时,会附加到每个进程和线程,以转储调用堆栈。
When NSD runs, it attaches to each process and thread, to dump the calls stacks.
包含线程和方法调用堆栈框架。
注意,这个调用堆栈当然将会按前面描述的过程优化。
Note, of course, that this call stack will be optimized in the ways described earlier.
这里的第一部分计算方法调用参数在堆栈上占用的空间。
The first part here computes the space occupied by the method call parameters on the stack.
但是,对于原因相同的两个崩溃,有可能具有不同的调用堆栈。
However, it is possible for two crashes to have the same root cause, but not have identical call stacks.
所以该指令会将链接寄存器(存有返回地址)存储到调用函数堆栈框架的恰当位置。
So this instruction stores the link register (which holds the return address) into the proper location in the calling function's stack frame.
当我的SCA应用程序遇到问题时,如何解释运行时调用堆栈上出现的各种类?
When my SCA application encounters a problem, can someone explain the various classes I see on the runtime call stack?
因为状态不依赖于给定的调用堆栈,所以这种方式对于长期工作流这样的东西更稳定。
Because the state isn't dependent on a given call stack, the approach is more stable for things like long-duration workflows.
图1显示了一个典型的调用堆栈。
堆栈包含对每个已经被调用到该点的组件的跟踪。
The stack contains a trace of each component that has been called to that point.
在调用函数之后,ESP代表堆栈的顶部。
由于您尚未定义自己的堆栈框架,所以偏移量是由调用函数的堆栈框架的末端算起的。
Since you have not yet defined your own stack frame, the offset is from the end of the calling function's stack frame.
这个参数定义希望获取返回地址的调用堆栈级别。
The argument defines the level of the call stack for which you want to obtain the return address.
本质上,调用这个方法所发生的事情是对那一瞬间调用堆栈和一组相互交叠的权限进行快照。
In essence, what happens upon calling this method is that a snapshot of the state of the call stack is taken at that very instant and the sets of permissions intersected with each other.
注意,直到现在我还没有提到图1 中描述的调用堆栈的线程起源。
Note that until now I have made no mention of the origins of the thread whose call stack was depicted in Figure 1.
相反,程序员需要手动列出调用堆栈中的每个调用。
Instead, the programmer needs to manually list each call in the call stack of interest.
遍历网络堆栈,以寻找出站调用。
请记住链接寄存器存储在调用函数的堆栈框架内,而非函数自身的堆栈框架。
Remember that the link register is stored in the calling function's stack frame, not the function's own stack frame.
这条经验规则的目标是为下游组件提供在调用堆栈的上游组件超时之前超时的机会。
What this rule of thumb tries to accomplish is to give a downstream component the opportunity to time out on a request before a component further up the call stack does.
为了判断两个堆栈是否是部分匹配,使用基于两个调用堆栈的平均堆栈长度的截止百分数。
To determine whether or not two stacks are a partial match, we use a percentage cut-off based on the average stack length of the two call stacks.
每当调用一个函数,就会使用一个新的堆栈帧来支持该调用。
Every time a function is called, a new stack frame (an area of memory inside the stack) is used to support the call.
我们将从第1部分留下的问题开始,直接从相册页面调用历史堆栈。
We're going to pick up directly from where Part 1 left off, adding calls to the history stack directly into the photo gallery page.
NSD给出服务器状态的所有当前信息(所有线程的调用堆栈、内存信息,等等)。
NSD gives you all current information about the state of the server (call stacks for all threads, memory information, and so on).
如果在许多地方调用了一个函数,可以使用堆栈跟踪检查调用序列。
If a function is called from many places, use the stack backtrace to determine the specific calling sequence.
除了Thread对象所需的内存之外,每个线程都需要两个可能很大的执行调用堆栈。
Besides the memory required for the thread object, each thread requires two execution call stacks, which can be large.
清单4展示了hprof输出的另一部分,给出了Map . Entry对象的分配点的调用堆栈信息。
Listing 4 shows yet another portion of the hprof output, giving call stack information for allocation sites for Map.Entry objects.
SystemTap还提供许多其他函数,提供对调用堆栈和当前注册表的访问。
SystemTap provides a number of other functions, as well, providing access to the call stack and current registers.
第i i种情况:应当只用与用户身份相关联的服务器端调用堆栈protectiondomain进行权限检查。
Case II: Only the server-side call stack ProtectionDomains that have been associated with the user identity should be used for the permission check.
应用推荐