Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- mybatis
- request
- Spring Security
- proxy pattern
- Spring
- exception
- http
- git
- 객체지향프로그래밍
- SQL
- 트랜잭션
- spring boot
- 스프링
- RestControllerAdvice
- OOP
- aspect
- 인터셉터
- Redis
- Filter
- response
- 스프링부트
- aop
- java
- 스프링 시큐리티
- MYSQL
- 자바
- 관점지향프로그래밍
- network
- Interceptor
- 디자인패턴
Archives
- Today
- Total
목록Reference (1)
장쫄깃 기술블로그

들어가며 Java Strong Reference / Soft Reference / Weak Reference / Phantom Reference Java의 참조 유형에는 크게 4가지가 있다. 참조 유형에 따라 GC 실행 대상 여부, 시점이 달라진다. Strong Reference (강한 참조) Soft Reference (소프트 참조) Weak Reference (약한 참조) Phantom Reference (팬텀 참조) 아래로 갈수록 GC의 대상이 되는 경우와 실행되는 시점이 앞당겨진다. 1. Strong References (강한 참조) Java의 기본 참조 유형이다. MyClass obj = new MyClass(); obj 변수가 참조를 가지고 있는 한, MyClass 객체는 GC의 대상이 되지 ..
Programming Language/Java
2022. 6. 6. 01:00