<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>垃圾回收 on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/%E5%9E%83%E5%9C%BE%E5%9B%9E%E6%94%B6/</link>
    <description>Recent content in 垃圾回收 on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 01 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/%E5%9E%83%E5%9C%BE%E5%9B%9E%E6%94%B6/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>JS 内存泄漏排查：Chrome DevTools 真实案例拆解闭包与 GC</title>
      <link>https://index.zshipu.com/geek/post/20260901/JS-%E5%86%85%E5%AD%98%E6%B3%84%E6%BC%8F%E6%8E%92%E6%9F%A5Chrome-DevTools-%E7%9C%9F%E5%AE%9E%E6%A1%88%E4%BE%8B%E6%8B%86%E8%A7%A3%E9%97%AD%E5%8C%85%E4%B8%8E-GC/</link>
      <pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/20260901/JS-%E5%86%85%E5%AD%98%E6%B3%84%E6%BC%8F%E6%8E%92%E6%9F%A5Chrome-DevTools-%E7%9C%9F%E5%AE%9E%E6%A1%88%E4%BE%8B%E6%8B%86%E8%A7%A3%E9%97%AD%E5%8C%85%E4%B8%8E-GC/</guid>
      <description>JS 使用可达性算法的标记-清除机制进行垃圾回收，闭包意外保留引用常导致内存无法释放。真实案例中，开发者通过 Chrome DevTools 的内存分析工具成功定位并解决了此类泄漏，同时深入理解了闭包与 GC 的交互。 Chrome DevTools 能直接展示堆中的对象引用路径，让开发者看到闭包变量如何把本该回收的大对象一直挂在根上。理解这个机制</description>
    </item>
  </channel>
</rss>
