Posted in

Go内存泄漏元凶锁定:通过runtime.ReadMemStats钩子+pprof heap diff发现3个被忽略的finalizer循环引用

第一章:Go内存泄漏元凶锁定:通 … Go内存泄漏元凶锁定:通过runtime.ReadMemStats钩子+pprof heap diff发现3个被忽略的finalizer循环引用Read more

Posted in

Go内存泄漏根因定位三板斧:pprof heap profile + runtime.ReadMemStats + go tool trace内存分配热区交叉验证法

第一章:Go内存泄漏根因定位三板 … Go内存泄漏根因定位三板斧:pprof heap profile + runtime.ReadMemStats + go tool trace内存分配热区交叉验证法Read more

Posted in

Go内存泄漏诊断全流程,手把手带你用runtime/pprof+go tool pprof+heap profile揪出隐藏GC杀手

第一章:Go内存泄漏诊断全流程概 … Go内存泄漏诊断全流程,手把手带你用runtime/pprof+go tool pprof+heap profile揪出隐藏GC杀手Read more

Posted in

Go字符串拼接中文引发内存泄漏?通过pprof heap profile定位底层string header复用失效问题(含修复PR链接)

第一章:Go字符串拼接中文引发内 … Go字符串拼接中文引发内存泄漏?通过pprof heap profile定位底层string header复用失效问题(含修复PR链接)Read more

Posted in

Go语言内存技术栈解密:逃逸分析失效的5种场景、sync.Pool误用导致的GC压力飙升、heap profile精准定位技巧

第一章:Go语言内存技术栈解密 … Go语言内存技术栈解密:逃逸分析失效的5种场景、sync.Pool误用导致的GC压力飙升、heap profile精准定位技巧Read more

Posted in

Go语言内存管理教学失效?我们用go tool pprof采集了B站热门课程Demo的heap profile——78%存在goroutine泄漏隐患

第一章:Go语言内存管理教学失效 … Go语言内存管理教学失效?我们用go tool pprof采集了B站热门课程Demo的heap profile——78%存在goroutine泄漏隐患Read more