We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a2e6c9 commit 16b1985Copy full SHA for 16b1985
src/runtime/testdata/testprog/syscall_windows.go
@@ -66,5 +66,8 @@ func StackMemory() {
66
if err != nil {
67
panic(err)
68
}
69
- print((mem2 - mem1) / threadCount)
+ // assumes that this process creates 1 thread for each
70
+ // thread locked goroutine plus extra 5 threads
71
+ // like sysmon and others
72
+ print((mem2 - mem1) / (threadCount + 5))
73
src/runtime/testdata/testprogcgo/stack_windows.go
@@ -50,5 +50,8 @@ func StackMemory() {
50
51
52
53
54
55
56
57
0 commit comments