在具有活动JIT编译器的JVM中,会通过不断编译编译代码的“边缘部分”,直到转换次数不会影响性能为止,最终消除这种代价。
In a JVM with an active JIT compiler, this cost is eventually eliminated by compiling "around the edges" of the compiled code until the number of transitions is too small to impact performance.
此外,AOT能够比JIT编译器编译更多的方法,因此aot编译也能比JIT编译产生更好的性能。
Moreover, more methods can be AOT compiled than a JIT compiler might decide to compile, which can also result in better performance with AOT compilation than JIT compilation.
不经常使用的方法采用较低的优化级别进行编译,这样编译完成得很快并产生显著的性能收益。
The less frequently used methods are compiled at lower optimization levels, which are designed to complete quickly and produce a significant performance gain.
So, it's getting more interesting but we'll soon see that things don't always compile as easily as this command suggests.
更有意思了,但我们很快就会发现,并不是所有的编译都,像这条命令这么简单。
And the third one I want to point out is, whether this is an interpreted versus a compiled language.
我想说的第三件事情是,这个语言是编译语言,还是解释语言。
So I just realized this is a new MacBook Pro that I didn't actually download the compiler onto it apparently.
所以,我才意识到这是一台新电脑,显然我并没有把编译器安装到上面。
应用推荐