Local Development Environments :: java

SoniaComp
2 min readJan 13, 2020

--

JDK

JVM: run Java regardless of OS & supply GC(garbage collection) function.
JRE: JVM gets environments to execute .class File.

Program Execution Process

Fetch instructions from Memory to CPU.

완석의 플밍공부, https://wansuk.tistory.com/category, 2020/1/13
Pream Tree의 행복 블로그, https://preamtree.tistory.com/2, 2020/1/13
Pream Tree의 행복 블로그, https://preamtree.tistory.com/2, 2020/1/13

General OS program Execution Process

Source code — (compiler) → Assembly File — (Assembler) →Binary File

Java Program Execution Process

.java — (compiler) → .class[java Byte Code] — (Class Loader) →JVM Loaded File — (Execution Engine) →Binary File[for each OS]

Etc

Runtime Data Area: assigned Memory Area from OS.
Method Area: Information about class, variable, method, static, prime number. — shared by all process
Heap Area: Instance and the Object are stored in this area. — shared by all process, GC issue
Stack Area: all variables in the method. — in each process
PC register Area: store the JVM instruction address. — in each process
Native method stack: Other language’s method

Oracle, https://docs.oracle.com/javase/8/docs/index.html, 2020/1/14

--

--

SoniaComp
SoniaComp

Written by SoniaComp

Data Engineer interested in Data Infrastructure Powering Fintech Innovation (https://www.linkedin.com/in/sonia-comp/)

No responses yet