Skip to content

Commit

Permalink
algorithm: cyptography
Browse files Browse the repository at this point in the history
  • Loading branch information
483759 committed Nov 11, 2021
1 parent 6bf9851 commit a24a68a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/yij/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
3-3. Major GC 알고리즘에 대해 설명해주세요.

> Parallel GC
> : Mark-Sweep-Compact 알고리즘을 사용해서 살아남은 객체를 식별하고, 참조되지 않는 객체는 해제한 뒤, 선택적으로 메모리를 재배열합니다. 이 과정을 여러개의 쓰레드를 이용해서 가비지 컬렉션을 하는 알고리즘이 Parallel GC입니다.
> : Mark-Sweep-Compact 알고리즘을 사용해서 살아남은 객체를 식별하고, 참조되지 않는 객체는 해제한 뒤, 선택적으로 메모리를 재배열합니다. 이 과정을 여러개의 쓰레드를 이용해서 가비지 컬렉션을 하는 알고리즘이 Parallel GC입니다.
>
> G1GC
> : 힙을 일정한 크기의 영역들로 나누어서 사용하던 영역이 꽉 차면 GC를 실행하고 다른 영역으로 이동시키는 알고리즘입니다. 자바 9부터 JVM의 기본 GC 알고리즘으로 사용하고 있으며, 다른 GC 알고리즘에 비해 STW 시간이 짧다는 장점이 있습니다.
Expand Down

0 comments on commit a24a68a

Please sign in to comment.