1.9

asm_amd64.s runtime1.go proc.go os_linux.go

#1  0x000000000044eabb in runtime.rt0_go () at /home/jinlei1/os/go/src/runtime/asm_amd64.s:167
#0  runtime.check () at /home/jinlei1/os/go/src/runtime/runtime1.go:229
    runtime.args
      runtime.sysargs
    runtime.osinit
    runtime.schedinit
    runtime.newproc
    runtime.mstart
      mstart1
        schedule
          mallocinit ---
          execute
            gogo -->asm_amd64.s
              runtime.main()
                main_main ---> main()
mallocinit

mcache 为每一个系统线程P维护一块内存,并不回收

heap central span cache object

小于16字节 mcache 小于32k span 大于32k heap