728x90
반응형
[Java] 18. 런타임 데이터 영역 (Run time data Area)
1. 런타임 데이터 영역?
런타임 데이터 영역(Run-time Data Area)는 자바 애플리케이션을 실행할 때 사용되는 데이터들이 저장되는 메모리 공간이다. 런타임 데이터 영역은 메서드 영역, 힙 영역, 스택 영역, PC 레지스터, 네이티브 메서드 스택, 총 다섯 가지로 분류된다.
-PC Register
-Java Virtual Machine Stacks
-Method Area
-Heap
-Native Method Stacks
2. 프로그램의 실행 과정
(1) .java 형식의 자바 소스 파일을 생성한다.
(2) 컴파일러가 .java 파일을 .class 형식으로 변환한다.
(3) .class 형식으로 변환된 파일들은 JVM(Java Virtual Machine)에 의해 실행된다.
728x90
반응형
'Java > 기본 개념 및 클래스' 카테고리의 다른 글
[Java] 21. 생성자: 기본 생성자와 사용자 정의 생성자 (0) | 2024.04.16 |
---|---|
[Java] 20. 함수, 인스턴스화, 메서드 연습 문제 (0) | 2024.04.16 |
[Java] 18. 객체 지향, 클래스, 인스턴스화 (0) | 2024.04.15 |
[Java] 17. 함수와 메서드 (0) | 2024.04.15 |
[Java] 16. 이중 for문: 별 그리기 문제 (0) | 2024.04.15 |