Mobile phone virtual machine generally refers to Java virtual machine, because the programs on the mobile phone are all written in Java; and Java programs are all run in the Java virtual machine; the Java virtual machine is just a platform. Provide a running environment.
The operating environment of this article: Windows7 system, Java8.0, Dell G3 computer.
The mobile phone virtual machine generally refers to the Java virtual machine, because the programs on the mobile phone are all written in Java, and the Java programs are all run in the Java virtual machine. The Java virtual machine is just a platform, providing a running environment.
Related introduction:
Java Virtual Machine (JVM) A specification for computer equipment that can be implemented in different ways (software or hardware). Compiling the instruction set for a virtual machine is very similar to compiling the instruction set for a microprocessor. The Java virtual machine includes a set of bytecode instructions, a set of registers, a stack, a garbage collection heap and a storage method field.
The Java Virtual Machine (JVM) is an imaginary computer that can run Java code. As long as the interpreter is ported to a specific computer according to the JVM specification, any compiled Java code can be guaranteed to run on that system.
The Java virtual machine is an imaginary machine that is implemented through software simulation on an actual computer. The Java virtual machine has its own imaginary hardware, such as processors, stacks, registers, etc., and also has corresponding instruction systems.
The Java Virtual Machine Specification defines an abstract -- not an actual -- machine or processor. This specification describes an instruction set, a set of registers, a stack, a "garbage heap", and a method area. Once a Java virtual machine is running on a given platform, any Java program (compiled program, called bytecode) can run on that platform. The Java Virtual Machine (JVM) can interpret the bytecode one instruction at a time (mapping it to actual processor instructions), or the bytecode can be compiled by what is called just-in-time on the actual processor. processor for further compilation.
Recommended: "java video tutorial"
The above is the detailed content of What does mobile virtual machine mean?. For more information, please follow other related articles on the PHP Chinese website!