Posted in

Go接口设计总出问题?深度拆解io.Reader/io.Writer/context.Context三大核心接口的5种反模式(含重构前后Benchmark对比)

第一章:Go接口设计总出问题?深 … Go接口设计总出问题?深度拆解io.Reader/io.Writer/context.Context三大核心接口的5种反模式(含重构前后Benchmark对比)Read more

Posted in

Go原子操作的“可见性幻觉”:为什么atomic.LoadUint64读到旧值?MESI协议状态机+Go runtime write barrier联动解析

第一章:Go原子操作和锁的本质区 … Go原子操作的“可见性幻觉”:为什么atomic.LoadUint64读到旧值?MESI协议状态机+Go runtime write barrier联动解析Read more

Posted in

Go 1.24新gcWriteBarrier触发的write barrier violation internal error?一文讲透屏障插入点变更与逃逸分析联动机制

第一章:Go 1.24新gcWr … Go 1.24新gcWriteBarrier触发的write barrier violation internal error?一文讲透屏障插入点变更与逃逸分析联动机制Read more

Posted in

【Java G1 Remembered Set内存开销】vs【Go write barrier bitmap内存占用】:大堆(64GB+)场景下谁先撑不住?

第一章:Java G1 Reme … 【Java G1 Remembered Set内存开销】vs【Go write barrier bitmap内存占用】:大堆(64GB+)场景下谁先撑不住?Read more

Posted in

Go GC标记清除阶段默写推演:root set扫描路径、write barrier插入点、STW触发阈值——能默出者不足7%

第一章:Go GC标记清除阶段核 … Go GC标记清除阶段默写推演:root set扫描路径、write barrier插入点、STW触发阈值——能默出者不足7%Read more