「55」Go 1.18 pre

最近看到1.18已经提上日程了,虽然很遥远,
但还是需要关注下改善点和新特性。

改善点:

👉🏻 runtime: helloworld net/http asks 700MB VSS on mips32

简述:

一个helloworld net程序跑起来后 VSS 占用过高问题

Depends on:

proposal: runtime: GC pacer redesign

👉🏻 runtime: 10ms-26ms latency from GC in go1.14rc1, possibly due to ‘GC (idle)’ work

简述:

gc idle空闲时间过长问题

解决办法:

👉🏿 runtime: remove idle GC workers
👉🏿 proposal: runtime: GC pacer redesign

proposal

👉🏻 GC Redesign

👉 runtime/pprof: NewCPUProfile + cpuProfile.Start to allow profile configuration

Deprecated

👉🏿 runtime: deprecate SetCPUProfileRate and replace body with panic