然后,中断执行并找到表示该无限循环的汇编代码。
Then, break the execution and find the assembly code representing the infinite loop.
注意,对于带有测试的其他方法或字段的调用也会触发这些测试,所以要有一些特殊情况的例外,以防止方面代码中的无限递归之类的问题。
Note that nested calls to other methods or fields with tests will trigger those tests, with some special-case exceptions to prevent infinite recursions in aspect code, etc.
虽然通过分析堆转储能够标识内存泄漏数据结构,但是标识无限循环中的内存泄漏代码并不简单。
While it might be possible to identify the memory leaking data structure by analyzing the heap dumps, identifying the memory leaking code which is in a infinite loop is not straightforward.
应用推荐