拉取Go 1.11镜像并启动

docker run -it --name golang-1.11 golang:1.11.6



安装vim




不带参数执行,4个协程:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
os.Args: [/tmp/go-build834710657/b001/exe/explore]
len(os.Args): 1
panic: before timers

goroutine 1 [running]:
panic(0xb0160, 0xe5550)
/usr/local/go/src/runtime/panic.go:556 +0x2c4 fp=0x400006ef10 sp=0x400006ee80 pc=0x34a14
main.main()
/go/explore.go:19 +0x1e0 fp=0x400006ef90 sp=0x400006ef10 pc=0x91c30
runtime.main()
/usr/local/go/src/runtime/proc.go:201 +0x204 fp=0x400006efd0 sp=0x400006ef90 pc=0x364b4
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x5c1b4

goroutine 2 [runnable]:
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:243 fp=0x400002cfd0 sp=0x400002cfd0 pc=0x36670
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400002cfd0 sp=0x400002cfd0 pc=0x5c1b4
created by runtime.init.3
/usr/local/go/src/runtime/proc.go:240 +0x28

goroutine 3 [GC sweep wait]:
runtime.gopark(0xd82b8, 0x173f80, 0x140c, 0x1)
/usr/local/go/src/runtime/proc.go:302 +0xcc fp=0x400002d780 sp=0x400002d760 pc=0x3687c
runtime.goparkunlock(0x173f80, 0xe140c, 0x1)
/usr/local/go/src/runtime/proc.go:308 +0x44 fp=0x400002d7b0 sp=0x400002d780 pc=0x36914
runtime.bgsweep(0x400004c000)
/usr/local/go/src/runtime/mgcsweep.go:52 +0x90 fp=0x400002d7d0 sp=0x400002d7b0 pc=0x2acf0
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400002d7d0 sp=0x400002d7d0 pc=0x5c1b4
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:216 +0x4c

goroutine 4 [runnable]:
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:161 fp=0x400002dfd0 sp=0x400002dfd0 pc=0x22780
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400002dfd0 sp=0x400002dfd0 pc=0x5c1b4
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x6c
exit status 2


带参数执行,5个协程:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
os.Args: [/tmp/go-build120473768/b001/exe/explore -111]
len(os.Args): 2
panic: after timers

goroutine 1 [running]:
panic(0xb0160, 0xe5560)
/usr/local/go/src/runtime/panic.go:556 +0x2c4 fp=0x4000092f10 sp=0x4000092e80 pc=0x34a14
main.main()
/go/explore.go:28 +0x1c0 fp=0x4000092f90 sp=0x4000092f10 pc=0x91c10
runtime.main()
/usr/local/go/src/runtime/proc.go:201 +0x204 fp=0x4000092fd0 sp=0x4000092f90 pc=0x364b4
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x4000092fd0 sp=0x4000092fd0 pc=0x5c1b4

goroutine 2 [force gc (idle)]:
runtime.gopark(0xd82b8, 0x173e80, 0x1410, 0x1)
/usr/local/go/src/runtime/proc.go:302 +0xcc fp=0x400002af70 sp=0x400002af50 pc=0x3687c
runtime.goparkunlock(0x173e80, 0x1410, 0x1)
/usr/local/go/src/runtime/proc.go:308 +0x44 fp=0x400002afa0 sp=0x400002af70 pc=0x36914
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:251 +0xac fp=0x400002afd0 sp=0x400002afa0 pc=0x3671c
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400002afd0 sp=0x400002afd0 pc=0x5c1b4
created by runtime.init.3
/usr/local/go/src/runtime/proc.go:240 +0x28

goroutine 3 [GC sweep wait]:
runtime.gopark(0xd82b8, 0x173f80, 0x140c, 0x1)
/usr/local/go/src/runtime/proc.go:302 +0xcc fp=0x400002b780 sp=0x400002b760 pc=0x3687c
runtime.goparkunlock(0x173f80, 0xe140c, 0x1)
/usr/local/go/src/runtime/proc.go:308 +0x44 fp=0x400002b7b0 sp=0x400002b780 pc=0x36914
runtime.bgsweep(0x400004c000)
/usr/local/go/src/runtime/mgcsweep.go:52 +0x90 fp=0x400002b7d0 sp=0x400002b7b0 pc=0x2acf0
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400002b7d0 sp=0x400002b7d0 pc=0x5c1b4
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:216 +0x4c

goroutine 17 [runnable]:
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:161 fp=0x40000267d0 sp=0x40000267d0 pc=0x22780
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x40000267d0 sp=0x40000267d0 pc=0x5c1b4
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x6c

goroutine 18 [runnable]:
runtime.timerproc(0x176be0)
/usr/local/go/src/runtime/time.go:224 fp=0x400002a7d0 sp=0x400002a7d0 pc=0x4edc0
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1114 +0x4 fp=0x400002a7d0 sp=0x400002a7d0 pc=0x5c1b4
created by runtime.(*timersBucket).addtimerLocked
/usr/local/go/src/runtime/time.go:170 +0xf4
exit status 2


go 1.13上:

go version:

go version go1.13.15 linux/arm64


不带参数,5个协程:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
os.Args: [/tmp/go-build765375592/b001/exe/explore]
len(os.Args): 1
panic: before timers

goroutine 1 [running]:
panic(0xb1c40, 0xef970)
/usr/local/go/src/runtime/panic.go:722 +0x2d0 fp=0x4000052eb0 sp=0x4000052e20 pc=0x38870
main.main()
/go/explore.go:19 +0x238 fp=0x4000052f50 sp=0x4000052eb0 pc=0x9fc58
runtime.main()
/usr/local/go/src/runtime/proc.go:203 +0x214 fp=0x4000052fd0 sp=0x4000052f50 pc=0x3a464
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x4000052fd0 sp=0x4000052fd0 pc=0x61e94

goroutine 2 [force gc (idle)]:
runtime.gopark(0xde210, 0x1848f0, 0x1411, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002cfa0 sp=0x400002cf80 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:253 +0xc0 fp=0x400002cfd0 sp=0x400002cfa0 pc=0x3a6f0
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002cfd0 sp=0x400002cfd0 pc=0x61e94
created by runtime.init.4
/usr/local/go/src/runtime/proc.go:242 +0x30

goroutine 3 [GC sweep wait]:
runtime.gopark(0xde210, 0x184a20, 0x140c, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002d7a0 sp=0x400002d780 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgsweep(0x400004a000)
/usr/local/go/src/runtime/mgcsweep.go:70 +0xa8 fp=0x400002d7d0 sp=0x400002d7a0 pc=0x2e2f8
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002d7d0 sp=0x400002d7d0 pc=0x61e94
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:210 +0x54

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xde210, 0x184b00, 0x140d, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002df30 sp=0x400002df10 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgscavenge(0x400004a000)
/usr/local/go/src/runtime/mgcscavenge.go:299 +0xe4 fp=0x400002dfd0 sp=0x400002df30 pc=0x2da04
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002dfd0 sp=0x400002dfd0 pc=0x61e94
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:211 +0x74

goroutine 17 [runnable]:
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:161 fp=0x40000287d0 sp=0x40000287d0 pc=0x24310
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x40000287d0 sp=0x40000287d0 pc=0x61e94
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x78
exit status 2

带参数,6个协程:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
os.Args: [/tmp/go-build274885587/b001/exe/explore -123]
len(os.Args): 2
panic: after timers

goroutine 1 [running]:
panic(0xb1c40, 0xef980)
/usr/local/go/src/runtime/panic.go:722 +0x2d0 fp=0x4000052eb0 sp=0x4000052e20 pc=0x38870
main.main()
/go/explore.go:28 +0x21c fp=0x4000052f50 sp=0x4000052eb0 pc=0x9fc3c
runtime.main()
/usr/local/go/src/runtime/proc.go:203 +0x214 fp=0x4000052fd0 sp=0x4000052f50 pc=0x3a464
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x4000052fd0 sp=0x4000052fd0 pc=0x61e94

goroutine 2 [force gc (idle)]:
runtime.gopark(0xde210, 0x1848f0, 0x1411, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002afa0 sp=0x400002af80 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:253 +0xc0 fp=0x400002afd0 sp=0x400002afa0 pc=0x3a6f0
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002afd0 sp=0x400002afd0 pc=0x61e94
created by runtime.init.4
/usr/local/go/src/runtime/proc.go:242 +0x30

goroutine 3 [GC sweep wait]:
runtime.gopark(0xde210, 0x184a20, 0x140c, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002b7a0 sp=0x400002b780 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgsweep(0x400004a000)
/usr/local/go/src/runtime/mgcsweep.go:70 +0xa8 fp=0x400002b7d0 sp=0x400002b7a0 pc=0x2e2f8
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002b7d0 sp=0x400002b7d0 pc=0x61e94
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:210 +0x54

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xde210, 0x184b00, 0x140d, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002bf30 sp=0x400002bf10 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgscavenge(0x400004a000)
/usr/local/go/src/runtime/mgcscavenge.go:299 +0xe4 fp=0x400002bfd0 sp=0x400002bf30 pc=0x2da04
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002bfd0 sp=0x400002bfd0 pc=0x61e94
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:211 +0x74

goroutine 5 [finalizer wait]:
runtime.gopark(0xde210, 0x19fde8, 0x1410, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x400002a730 sp=0x400002a710 pc=0x3a840
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:175 +0xbc fp=0x400002a7d0 sp=0x400002a730 pc=0x243cc
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002a7d0 sp=0x400002a7d0 pc=0x61e94
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x78

goroutine 6 [syscall]:
runtime.notetsleepg(0x187680, 0x12a031252, 0x0)
/usr/local/go/src/runtime/lock_futex.go:227 +0x30 fp=0x400002c750 sp=0x400002c720 pc=0x196a0
runtime.timerproc(0x187660)
/usr/local/go/src/runtime/time.go:311 +0x2a4 fp=0x400002c7d0 sp=0x400002c750 pc=0x54054
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1128 +0x4 fp=0x400002c7d0 sp=0x400002c7d0 pc=0x61e94
created by runtime.(*timersBucket).addtimerLocked
/usr/local/go/src/runtime/time.go:169 +0x110
exit status 2


go 1.14

go version
go version go1.14.15 linux/arm64

不带参数,5个协程

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
os.Args: [/tmp/go-build251948969/b001/exe/explore]
len(os.Args): 1
panic: before timers

goroutine 1 [running]:
panic(0xbe380, 0xfb230)
/usr/local/go/src/runtime/panic.go:1064 +0x420 fp=0x400004eed0 sp=0x400004ee10 pc=0x3d0e0
main.main()
/go/explore.go:19 +0x238 fp=0x400004ef70 sp=0x400004eed0 pc=0xa4c48
runtime.main()
/usr/local/go/src/runtime/proc.go:203 +0x20c fp=0x400004efd0 sp=0x400004ef70 pc=0x3f97c
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x400004efd0 sp=0x400004efd0 pc=0x69c14

goroutine 2 [force gc (idle)]:
runtime.gopark(0xe7700, 0x195960, 0x1411, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x4000028fa0 sp=0x4000028f80 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:253 +0xc0 fp=0x4000028fd0 sp=0x4000028fa0 pc=0x3fc00
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x4000028fd0 sp=0x4000028fd0 pc=0x69c14
created by runtime.init.5
/usr/local/go/src/runtime/proc.go:242 +0x30

goroutine 3 [GC sweep wait]:
runtime.gopark(0xe7700, 0x195aa0, 0x140c, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x40000297a0 sp=0x4000029780 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgsweep(0x4000046000)
/usr/local/go/src/runtime/mgcsweep.go:70 +0xa8 fp=0x40000297d0 sp=0x40000297a0 pc=0x2e408
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x40000297d0 sp=0x40000297d0 pc=0x69c14
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:214 +0x54

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xe7700, 0x195a60, 0x140d, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x4000029f70 sp=0x4000029f50 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgscavenge(0x4000046000)
/usr/local/go/src/runtime/mgcscavenge.go:237 +0xe4 fp=0x4000029fd0 sp=0x4000029f70 pc=0x2cc24
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x4000029fd0 sp=0x4000029fd0 pc=0x69c14
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:215 +0x74

goroutine 17 [finalizer wait]:
runtime.gopark(0xe7700, 0x1bef70, 0x1410, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x4000024730 sp=0x4000024710 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:175 +0xbc fp=0x40000247d0 sp=0x4000024730 pc=0x244dc
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x40000247d0 sp=0x40000247d0 pc=0x69c14
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x78
exit status 2

带参数,也是5个协程

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
os.Args: [/tmp/go-build768739727/b001/exe/explore -123]
len(os.Args): 2
panic: after timers

goroutine 1 [running]:
panic(0xbe380, 0xfb240)
/usr/local/go/src/runtime/panic.go:1064 +0x420 fp=0x400004eed0 sp=0x400004ee10 pc=0x3d0e0
main.main()
/go/explore.go:28 +0x21c fp=0x400004ef70 sp=0x400004eed0 pc=0xa4c2c
runtime.main()
/usr/local/go/src/runtime/proc.go:203 +0x20c fp=0x400004efd0 sp=0x400004ef70 pc=0x3f97c
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x400004efd0 sp=0x400004efd0 pc=0x69c14

goroutine 2 [force gc (idle)]:
runtime.gopark(0xe7700, 0x195960, 0x1411, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x4000026fa0 sp=0x4000026f80 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:253 +0xc0 fp=0x4000026fd0 sp=0x4000026fa0 pc=0x3fc00
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x4000026fd0 sp=0x4000026fd0 pc=0x69c14
created by runtime.init.5
/usr/local/go/src/runtime/proc.go:242 +0x30

goroutine 3 [GC sweep wait]:
runtime.gopark(0xe7700, 0x195aa0, 0x140c, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x40000277a0 sp=0x4000027780 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgsweep(0x4000046000)
/usr/local/go/src/runtime/mgcsweep.go:70 +0xa8 fp=0x40000277d0 sp=0x40000277a0 pc=0x2e408
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x40000277d0 sp=0x40000277d0 pc=0x69c14
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:214 +0x54

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xe7700, 0x195a60, 0x140d, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x4000027f70 sp=0x4000027f50 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.bgscavenge(0x4000046000)
/usr/local/go/src/runtime/mgcscavenge.go:237 +0xe4 fp=0x4000027fd0 sp=0x4000027f70 pc=0x2cc24
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x4000027fd0 sp=0x4000027fd0 pc=0x69c14
created by runtime.gcenable
/usr/local/go/src/runtime/mgc.go:215 +0x74

goroutine 5 [finalizer wait]:
runtime.gopark(0xe7700, 0x1bef70, 0x4000041410, 0x1)
/usr/local/go/src/runtime/proc.go:304 +0xd0 fp=0x4000026730 sp=0x4000026710 pc=0x3fd50
runtime.goparkunlock(...)
/usr/local/go/src/runtime/proc.go:310
runtime.runfinq()
/usr/local/go/src/runtime/mfinal.go:175 +0xbc fp=0x40000267d0 sp=0x4000026730 pc=0x244dc
runtime.goexit()
/usr/local/go/src/runtime/asm_arm64.s:1148 +0x4 fp=0x40000267d0 sp=0x40000267d0 pc=0x69c14
created by runtime.createfing
/usr/local/go/src/runtime/mfinal.go:156 +0x78
exit status 2


分了两个步骤:

一个改动发生在1.11到1.13之间,不考虑定时器,同一段代码,协程会多一个。初步猜测是scavenge
另一个是同一段代码,如果有定时器,go1.14会比go1.13及之前的少一个协程,少的是addtimerLocked

输出的信息中,有表明这个goroutine被谁created