Get the App
SLTechnology News&Howtos  ›  Servers  › 

Study notes-JavaEE Review National Day holiday

Shulou Source: shulou.com Published: 2022-06-03 01:00:05 09月22日 Update

One, class loader

1.1 what is a classloader and what is its purpose?

A self-written Java code source file, the process of running is mainly divided into three stages.

The first stage: the SOURCE level, that is, the source phase, has finished writing the code and has not yet been compiled and run

The second stage: the CLASS level, the bytecode phase, is compiled after the code has been written.

The third stage, the RUNTIME level, is the stage in which the written source code is compiled into bytecode and called into JDK runtime memory by the class loader.

The function of the class loader is to call the bytecode object to jdk running memory and generate the corresponding bytecode object

Tags: Stage byte code level compile run three function memory object source code that is source file process generation note review learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Apple Shulou Tech Info Linux Huawei