Hunting Goroutines: Go's Experimental Leak Detector
Программный комитет ещё не принял решения по этому докладу
Целевая аудитория
Тезисы
Somewhere in your program, there are goroutines that will never wake up. They're blocked on channel sends that will never complete, waiting on mutexes that nobody will unlock. They're not dead, the runtime still knows they exist, but they're not alive either. Your regular goroutine profiler can't tell you which ones they are. A waiting goroutine looks the same whether it's going to wake up in 10 milliseconds or never.
Go 1.26 introduces an experimental goroutine leak detector that changes this. By leveraging the garbage collector's reachability analysis, it can distinguish "waiting for work" from "stuck forever".
Alex is a Senior Staff Engineer at Stone, where he builds developer platforms and internal tools that empower engineering teams across the organization. With 17+ years of experience, he's the author of System Programming Essentials with Go and Learning Zig, and writes about staff engineering and systems thinking on Substack and his personal blog.
Alex speaks regularly at international conferences and is passionate about data-oriented design, making complex systems understandable, and helping engineers grow into technical leadership roles.
Видео
Другие доклады секции
Язык и стандартная библиотека