go src

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 小于

gitlab + docker + go + test

在server安装gitlab-runner 注意gitlab-runner版本需要和gitlab server匹配 sudo yum install gitlab-ci-multi-runner-1.11.2-1 sudo gitlab-runner register https://docs.gitlab.com/runner/#compatibility-chart http://newgit.op.ksyun.com/ci token 在git

dlv 不能debug

今天遇到了问题dlv不行,猜测是.a的问题,果然是 build -a 不能重新生成.a 删除.a后,可以,在$GOPATH/pkg/xxxxx.a