---
title: 垃圾回收
slug: Glossary/Garbage_collection
tags:
  - GC
  - 内存管理
  - 垃圾回收
translation_of: Glossary/Garbage_collection
---
<p><strong><a href="/en-US/docs/Web/JavaScript/Memory_Management#Garbage_collection">垃圾回收</a></strong> 是一个术语,在 {{Glossary("computer programming", "计算机编程")}}中用于描述查找和删除那些不再被其他{{Glossary("object reference", "对象引用")}}的{{Glossary("object", "对象")}} 处理过程。换句话说,垃圾回收是删除任何其他对象未使用的对象的过程。 垃圾收集通常缩写为 "GC", 是{{Glossary("JavaScript")}}中使用的{{Glossary("memory management", "内存管理")}}系统的基本组成部分。</p>

<h2 id="学习更多">学习更多</h2>
<h3 id="基本知识">基本知识</h3>

<ul>
 <li>{{interwiki("wikipedia", "Memory management")}} on Wikipedia</li>
 <li>{{interwiki("wikipedia", "Garbage collection")}} on Wikipedia</li>
</ul>

<h3 id="技术参考">技术参考</h3>

<ul>
 <li><a href="/en-US/docs/Web/JavaScript/Memory_Management#Garbage_collection">Garbage collection</a> in the MDN JavaScript guide.</li>
 <li><a href="/en-US/docs/Web/JavaScript/Memory_Management">Memory management in JavaScript</a></li>
</ul>