Inlining a Method 列入方法
Listing 4. Using an interface to prevent method inlining.
清单4使用接口防止方法内联。
Dynamic compilers, especially once method inlining takes place, have many more ways to determine that code is dead.
动态编译器(尤其是在进行方法内联之后)通过许多方法来判断死代码。
Many standard optimizations can only be performed within a "basic block," and so inlining method calls is often important to achieve good optimization.
许多标准的优化只能在“基本块”内执行,所以内联方法调用对于达到好的优化通常很重要。
应用推荐