Posted in

Go任务超时控制为何总不准?深入runtime.timer底层:从net/http timeout到自定义调度TimeoutPool的演进路径

第一章:Go任务超时控制为何总不 … Go任务超时控制为何总不准?深入runtime.timer底层:从net/http timeout到自定义调度TimeoutPool的演进路径Read more

Posted in

Go cgo调用中uintptr“转瞬即逝”的寻址本质:为什么强制转换为*int后立即失效?(附GC write barrier触发时序图)

第一章:uintptr在Go内存 … Go cgo调用中uintptr“转瞬即逝”的寻址本质:为什么强制转换为*int后立即失效?(附GC write barrier触发时序图)Read more

Posted in

Go context取消传播失效的7种隐蔽形态(含timeout未触发、cancel未级联、WithValue污染)——生产环境根因分析报告

第一章:Go context取消 … Go context取消传播失效的7种隐蔽形态(含timeout未触发、cancel未级联、WithValue污染)——生产环境根因分析报告Read more

Posted in

Go测试超时设置的致命错误:-timeout=30s vs -timeout=30s -run=TestXXX,底层调度器行为差异导致12%误判率

第一章:Go测试超时设置的致命错 … Go测试超时设置的致命错误:-timeout=30s vs -timeout=30s -run=TestXXX,底层调度器行为差异导致12%误判率Read more