digital-garden/knowledge/dev/java/gc/Mark and Sweep.md
2024-06-13 21:01:37 +03:00

17 lines
543 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
aliases:
- Mark And Sweep
tags:
- зрелость/🌱
date: "[[2023-11-06]]"
zero-link:
- "[[00 Java разработка]]"
parents:
- "[[Garbage Collector]]"
linked:
- "[[Mark and Compact]]"
---
В случае Mark and Sweep, в отличии от [Copy Collector](Copy%20Collector.md), мы не перемещаем живые объекты. Просто отмечаем мертвые объекты доступными для аллокации новых объектов.
![](Pasted%20image%2020231106130507.png)