Java beginners, unfamiliar words (1), new java beginners encounter words

Source: Internet
Author: User

Java beginners, unfamiliar words (1), new java beginners encounter words

Bytecode file: it does not contain hardware information and is completely unrelated to the hardware platform. Therefore, it cannot be run directly by the operating system.

Java application execution process: Code loading, code validation, and code execution.

Java Virtual Machine (JVM): Virtual software platform. To enable the compilation of bytecode for better interpretation and execution, it is usually divided into six functional modules: JVM interpreter, command system, register, stack, storage area and fragment zone.

JVM Interpreter: converts bytecode into machine commands executed by the CPU;

Command System: similar to hardware computers;

Registers: four commonly used 32-bit registers: pc (program counter), optop (top pointer of the operand stack), and frame (current execution environment pointer), vars (execute the pointer of the first local variable );

STACK: the JVM stack is the place and control center for storing data and information during command execution. It provides the information required for calculation by the JVM interpreter;

Storage Area: The JVM storage area stores compiled bytecode information and provides raw materials for processing;

Fragments are charged: The specific instances of the used Java class are recycled from the memory to automatically release the memory.

The use of JVM enables Java to implement "one compilation and run everywhere", which is the core of the entire operating system.

JDK: it is a free Java development tool provided by Sun. It has three members: J2EE, J2SE, and j22;

J2EE: used on the Scalable enterprise-level application Java 2 platform;

J2SE: used on the Java standard platform of workstations and PCs;

J2SE: used on an embedded consumer electronics platform.

For example, JDK has different versions for Windows, for Linux, for Solaris, and MacOS. (JDK is backward compatible)

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.