Garbage Collection Algorithms: Concurrent Mark Sweep, Fragmentation and Compaction, Lost Writes
Автор: Gaurav Sen
Загружено: 2021-01-12
Просмотров: 21145
We continue trying to optimize our the garbage collection process with concurrent algorithms, write barriers and compaction.
Concurrent algorithms allow our application to respond to requests intermittently while the GC runs. This reduces app latency (although it also reduces app throughput).
Compaction allows efficient memory allocation, but has the downside of stopping the application while objects are moved from one region to another.
We discuss the problems, solutions and algorithms to speed up garbage collection here.
Part 1: • Garbage Collection Algorithms: Mark Sweep,...
0:00 - Agenda
0:41 - Concurrency
1:34 - Lost object problem
2:41 - Defining constraints
3:25 - Solving through Write Barrier
3:49 - Memory Fragmentation
4:51 - G1GC
5:45 - Remembered Set
6:28 - Lost Update problem
7:09 - Solution teaser
Final part coming soon!
References:
Tricolor Algorithm: Knuth, The art of computer programming
Generational Hypothesis: https://people.cs.umass.edu/~emery/cl...
System Design Video Course: https://interviewready.io/
Software Engineering Fundamentals: • Software Engineering Fundamentals: Live le...
You can follow me on:
Instagram: / applepie404
LinkedIn: / gaurav-sen-56b6a941
Quora: https://www.quora.com/profile/Gaurav-...
Twitter: / gkcs_
#GarbageCollection #JavaGC #JavaGarbageCollection
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: