개발 기록
20221128 JVM의 메모리 모델 본문
JVM이 클래스를 실행하는 절차
1. 해당 클래스를 현재 디렉토리에서 찾는다
2. 찾으면 클래스 내부에 있는 static 메서드를 메모리로 로딩한다.
3. static zone에서 main() 메소드를 실행한다.
method Area
- method 의 byte code가 저장되는 영역
stack Area
- 메서드가 호출되면 메서드의 호출정보가 저장되는 영역 (call stach frame area)
heap Area
- 객체가 생성되는 영역 (new 연산자)
literal Pool
'TIL' 카테고리의 다른 글
Cannot change the ExecutorType when there is an existing transaction (0) | 2024.02.13 |
---|---|
Table 'tableName_seq' doesn't exist, @Slf4j cannot find symbol (0) | 2023.02.17 |
20221124 NHN FORWARD 후기 (0) | 2022.11.24 |
20221109 JVM (0) | 2022.11.09 |
com.amazonaws.SdkClientException: Failed to connect to service endpoint 에러 (0) | 2022.05.01 |
Comments