当前位置:首页 > 虚拟机 > 正文

深入理解java虚拟机 pdf(深入理解java虚拟机电子书)

Use Java code to call virtual printing to convert DOC to PDF. However, when multiple people access and call at the same time, only one conversion can be successful. How should I solve the problem?
Hello
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.
1. Why use the Java virtual machine
A very important feature of the Java language is its independence from the platform. The use of Java virtual machine is the key to achieving this feature. If a general high-level language wants to run on different platforms, it must at least be compiled into different target codes. After the introduction of the Java language virtual machine, the Java language does not need to be recompiled when running on different platforms. Java language usage model The Java virtual machine shields information related to specific platforms, so that the Java language compiler only needs to generate the target code (bytecode) that runs on the Java virtual machine, and can run on multiple platforms without modification. run. When the Java virtual machine executes bytecode, it interprets the bytecode into machine instructions for execution on the specific platform.
2. Who needs to understand the Java Virtual Machine
The Java Virtual Machine is the basis for the underlying implementation of the Java language. Anyone who is interested in the Java language should have an overview of the Java Virtual Machine. understanding. This helps to understand some properties of the Java language and also helps to use the Java language. For software personnel who want to implement the Java virtual machine on a specific platform, compiler authors of the Java language, and people who want to use hardware chips to implement the Java virtual machine, they must have a deep understanding of the specifications of the Java virtual machine. In addition, if you want to extend the Java language or compile other languages ​​into Java language bytecode, you also need to have an in-depth understanding of the Java virtual machine.

In-depth understanding of the differences between the second and third editions of the Java Virtual Machine?

Difference:

The third edition is a book designed for Java learning. From the perspective of a Java programmer, it systematically integrates various knowledge involved in the running of Java programs. The second edition is not only technically updated, richer in content, but also more practical.