简体   繁体   English

JVM-非jit编译的代码如何运行

[英]JVM - How is non jit-compiled code run

I know that some piececes of the bytecode are compiled into assembly at runtime. 我知道字节码的某些片段在运行时会编译为汇编。 However all resources that I read do not mention what happens to the rest of the code. 但是,我阅读的所有资源都没有提到其余代码会发生什么。 Is it interpreted by c++? 它由c ++解释吗?

The JIT compiler compiles the byte-code to native code for execution; JIT编译器将字节码编译为本地代码以执行; if you're on a platform without a JIT then the byte-code is interpreted. 如果您在没有JIT的平台上,则将解释字节码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM