aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/testdata')
-rw-r--r--src/runtime/testdata/testprog/deadlock.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/runtime/testdata/testprog/deadlock.go b/src/runtime/testdata/testprog/deadlock.go
index 0ee1557b13..105d6a5faa 100644
--- a/src/runtime/testdata/testprog/deadlock.go
+++ b/src/runtime/testdata/testprog/deadlock.go
@@ -20,7 +20,6 @@ func init() {
register("LockedDeadlock2", LockedDeadlock2)
register("GoexitDeadlock", GoexitDeadlock)
register("StackOverflow", StackOverflow)
- register("StackOverflowTopAndBottomTraces", StackOverflowTopAndBottomTraces)
register("ThreadExhaustion", ThreadExhaustion)
register("RecursivePanic", RecursivePanic)
register("RecursivePanic2", RecursivePanic2)
@@ -86,18 +85,6 @@ func StackOverflow() {
f()
}
-func StackOverflowTopAndBottomTraces() {
- var fi, gi func()
- fi = func() {
- gi()
- }
- gi = func() {
- fi()
- }
- debug.SetMaxStack(10000)
- fi()
-}
-
func ThreadExhaustion() {
debug.SetMaxThreads(10)
c := make(chan int)