user3364192
user3364192

Reputation: 3933

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++?

Upvotes: 0

Views: 72

Answers (1)

Elliott Frisch
Elliott Frisch

Reputation: 201409

The JIT compiler compiles the byte-code to native code for execution; if you're on a platform without a JIT then the byte-code is interpreted.

Upvotes: 4

Related Questions