The degree to which native code compilation affects application performance varies with the application, of course.
当然,本机代码编译对各个应用程序的性能的影响程度不尽相同。
When the threshold count for a method reaches zero (0) the method becomes eligible for compilation into native code by JIT.
当一个方法的上限计数器达到零(0)时,就可以使用JIT将这个方法编译成本地代码了。
To compile the code, generate some JCL to execute the compilation job.
要编译这段代码,需要生成一些JCL以执行编译任务。
Because this example focuses on publishing, these two methods are not used by the example client; however, skeletal implementations are required for successful code compilation.
由于本示例只侧重于发布,所以示例客户机没有使用这两个方法;然而,骨架实现还是成功的代码编译所必需的。
Dynamic code generation - Because dynamic code generation depends on the JIT Compiler, there is no support for any dynamic language compilation.
动态代码生成——因为动态代码生成依赖于JIT编译器,所以对任何动态语言编译的过程也不能支持。
Optimizations such as Just In Time (JIT) compilation, turning bytecodes into native code at runtime, or others are still in the future, so more performance improvements are still to come.
众多优化手段,比如即时编译(JIT),将字节码在运行时转换成原生码,或者其他方法将会在以后出现,所以更多的性能提升仍然值得期待。
In some cases, the "compilation" of your PHP code can far exceed the time required to execute the code.
在某些情况下,“编译”php代码的时间会远远超过执行该代码所需的时间。
Similarly, interactive applications can benefit from native code performance quickly without the cost of dynamic compilation that causes poor responsiveness.
类似地,交互式应用程序可以很快地从本地代码中获益,无需使用引起较差响应能力的动态编译。
Because runtime compilation USES profiling data to guide its optimization, the JIT may well optimize the test code differently than it would real code.
因为运行时编译使用概要数据来指导优化,所以JIT对测试代码的优化可能不同于对实际代码的优化。
This makes it easier for a debugger to identify which compilation unit created the code at a particular memory address.
这使得调试器可以更容易地确定哪一个编译单元在某个特定内存地址创建了代码。
The JVM performs JIT compilation of byte code into machine code.
JVM可将字节代码即时编译为机器代码。
There is no direct footprint benefit because each JVM still has a copy of the AOT executable but there are memory and CPU savings from being able to reuse this code rather than repeat the compilation.
因为每个JVM仍然拥有AOT代码的拷贝,所以这种实现方式对于内存使用量没有直接的好处。但是,由于能够重用 AOT 代码并避免重复编译,可以节省内存和CPU。
The JIT compiler is selective about which code it compiles so that the time it takes to do the compilation is likely to be made up by the improvements to the code's performance.
JIT编译器将选择它要编译的代码,这样它花费的编译时间很可能通过对代码性能的改进得到补偿。
Low compilation overhead is maintained that can be more easily hidden behind the performance benefit from repeatedly executing the hot code.
低编译开销更容易被反复执行热代码带来的性能优势掩盖。
The generated code might contain compilation errors.
生成的代码可能包含有编译上的错误。
If the code violated the style policy the code compilation failed, i.e. the developer was not able to deliver the result.
如果代码违反了风格政策,则无法通过编译,即开发人员就无法交付工作。
The operations have been slowed down because the quality of the code generated by a forced JIT compilation before the methods have been invoked is typically lower than that of fully exercised code.
操作变慢了,原因在于在调用方法之前强制执行JIT编译所生成的代码质量比完整编译的代码质量要低很多。
Because compilation happens at the same time as program execution, the time it takes to compile the code is added to the program's running time.
因为在程序执行时进行编译,所以编译代码的时间将计入程序的执行时间。
The code to initialize and destroy the threads will be under #ifdef INTR_SIMULATION, so that under normal compilation this code will not affect the release version of the driver object.
用来对这些线程进行初始化和销毁的代码都在 #ifdef INTR_SIMULATION 之下,这样在普通模式下编译的代码不会影响驱动程序对象的发行版本。
Depending on the compilation time and how much faster the compiled code is than the interpreted code, small changes in the number of iterations can result in big differences in measured "performance."
根据编译时间和编译代码比解释代码快的程度,即使对迭代数量只做很小的变化,也可能造成测量的“性能”有极大差异。
Make was the tool of choice for scripting and managing code compilation. Sprinkle in a dash of batch files or shell scripts to add automation and you had a build process.
要描述并管理代码的编译过程,可供选择的工具就是make,再加上零星几个批处理文件或是shell脚本以增加自动化程度,您的构建过程也就这样了。
InfoQ: do you see other vendors following the example of Mozilla, with just-in-time native code compilation?
InfoQ:其他厂商有没有仿效Mozilla,即时编译本地代码呢?
Either way, unless the programmer has access to the source code for class c, he will have no way of predicting when compilation errors would occur.
无论是哪一种,除非程序员有权访问类c的源代码,否则他无法预知何时会发生编译错误。
The model is then converted into code through compilation.
接着,模型会编译转换为代码。
The user of your script will never know the difference, except that the first invocation of Inline-enabled code takes a little time to complete the compilation of the embedded code.
使用您脚本的用户不会看出其中的不同,只不过第一次调用使用内联的代码时,程序将多花一点时间来完成对嵌入代码的编译。
The second message indicates that compilation has completed, and the hexadecimal address represents the starting offset of the machine code that will be executed each time the method is invoked.
第二条消息说明编译过程已经完成了,十六进制的地址表示每次调用这个方法时,所执行的机器代码的起始偏移量。
This tool either applies native code compilation to all methods of all classes in a JAR file or applies it selectively to the methods of interest.
该工具对JAR文件中所有类的所有方法应用本地代码编译,也可以选择性地对需要的方法应用本地代码编译。
It makes the compilation thread operate at a lower priority than RT tasks and is tuned to avoid generating code with severely nondeterministic performance effects.
使编译线程以低于RT任务的优先级操作,并且作出了调整以避免生成带有严重的不确定性性能影响的代码。
With the source code now available, you can begin the compilation process.
源代码现在已经可用,可以开始编译流程了。
Compilation: Compile the file to produce an object file for the code.
编译该文件,生成该代码的目标文件。
应用推荐