GO源码

Posted thrillerz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了GO源码相关的知识,希望对你有一定的参考价值。

代码结构

malloc.go

Memory allocator

sizeclass.go

span按大小区分的 类型定义

mbitmap.go

type and heap bitmaps

mgc.go

Garbage collector (GC)

mcache.go

Per-thread (in Go, per-P) cache for small objects.

central.go

Central free lists

mheap.go

Page heap

以上是关于GO源码的主要内容,如果未能解决你的问题,请参考以下文章

Go源码文件与命令

Go 源码分析:http 服务源码分析

CloudGeek读源码系列-cache2go源码解析

[日常] gocron源码阅读-使用go mod管理依赖源码启动gocron

go rpc 源码分析

Go 源码里的这些 //go: 指令,你知道吗?