Posted in

Go map key为指针类型的安全边界:何时触发unsafe.Pointer泄漏?源码直击runtime.mapassign中typedmemmove调用条件

第一章:Go map key为指 … Go map key为指针类型的安全边界:何时触发unsafe.Pointer泄漏?源码直击runtime.mapassign中typedmemmove调用条件Read more

Posted in

【Gopher紧急避坑指南】:map作为struct字段时的逃逸分析失效问题——从cmd/compile/internal/ssagen到runtime.mapassign源码链路

第一章:map作为struct字 … 【Gopher紧急避坑指南】:map作为struct字段时的逃逸分析失效问题——从cmd/compile/internal/ssagen到runtime.mapassign源码链路Read more