Posted in

【紧急更新】Golang 1.23新特性系统级适配指南:Generic Interface优化、arena allocator实战迁移路径

第一章:Golang 1.23新 … 【紧急更新】Golang 1.23新特性系统级适配指南:Generic Interface优化、arena allocator实战迁移路径Read more

Posted in

Go test -benchmem显示allocs/op=0,但pprof heap却暴涨?:揭秘runtime.mcache本地缓存对内存统计的屏蔽效应

第一章:Go test -ben … Go test -benchmem显示allocs/op=0,但pprof heap却暴涨?:揭秘runtime.mcache本地缓存对内存统计的屏蔽效应Read more

Posted in

Go语言逃逸分析的5个误导性结论:什么情况下new()不逃逸?什么情况下闭包变量强制堆分配?(-gcflags=”-m -m”逐行解读)

第一章:Go语言逃逸分析的本质与 … Go语言逃逸分析的5个误导性结论:什么情况下new()不逃逸?什么情况下闭包变量强制堆分配?(-gcflags=”-m -m”逐行解读)Read more

Posted in

Go切片逃逸分析终极指南:如何用go tool compile -gcflags=”-m”精准定位3层隐式分配?

第一章:Go切片逃逸分析终极指南 … Go切片逃逸分析终极指南:如何用go tool compile -gcflags=”-m”精准定位3层隐式分配?Read more