Java Virtual Machine. Student Name: Wei Liu Student ID: 104076. Java Virtual Machine. JVM is part of Java programming language. JVM is a software, staying on top of Operating System, such as UNIX, Windows NT.
Student Name: Wei Liu
Student ID: 104076
All five parts are necessary, may be implemented by a compiler, an interpreter or a hardware chip.
Without JIT, JVM will interpret do_action() method 1000 times. (A waste of time!)
With JIT, JVM interprets do_action() method only once and keeps it in log, and the binary native code will execute for the rest 999 loops.
& Kept in Log