You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all these, GOMAXPROCS=1
This works:
go test -v -cpu 1,1 runtime -test.run=TestStackMem
This succeeds the first time and fails the second time.
go test -v -cpu 1,1 runtime -test.run=TestStack
=== RUN TestStackOverflow
--- PASS: TestStackOverflow (0.15 seconds)
=== RUN TestStackSplit
--- PASS: TestStackSplit (0.01 seconds)
=== RUN TestStackMem
--- PASS: TestStackMem (3.14 seconds)
stack_test.go:1574: Consumed 2MB for stack mem
stack_test.go:1580: Inuse 0MB for stack mem
=== RUN TestStackOverflow
--- PASS: TestStackOverflow (0.16 seconds)
=== RUN TestStackSplit
--- PASS: TestStackSplit (0.01 seconds)
=== RUN TestStackMem
--- FAIL: TestStackMem (3.14 seconds)
stack_test.go:1574: Consumed 0MB for stack mem
stack_test.go:1580: Inuse 17592186044415MB for stack mem
stack_test.go:1582: Stack inuse: want 4194304, got 18446744073709547520
FAIL
exit status 1
FAIL runtime 6.606s
uname -a
Linux build 3.6.11-4.fc16.x86_64 #1 SMP Tue Jan 8 20:57:42 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux
go version
[tip] +72b4b258b09b Fri Mar 07 16:02:25 2014 +1100 linux/amd64
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: