| commit | 15a5c35cec35c09d276b0429b719a0f2cbb29189 | [log] [tgz] |
|---|---|---|
| author | Russ Cox <rsc@golang.org> | Thu Sep 11 16:22:21 2014 -0400 |
| committer | Russ Cox <rsc@golang.org> | Thu Sep 11 16:22:21 2014 -0400 |
| tree | e229e7d4bab3945ab9d6e8f9e6e92339b7dff7fa | |
| parent | 724fa12f91959d083e6165079463f5502e5df835 [diff] [blame] |
runtime: move gosched to Go, to add stack frame information LGTM=khr R=khr CC=golang-codereviews https://golang.org/cl/134520044
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go index 890ddea..d6f1a1a 100644 --- a/src/runtime/malloc.go +++ b/src/runtime/malloc.go
@@ -477,7 +477,7 @@ // now that gc is done, kick off finalizer thread if needed if !concurrentSweep { // give the queued finalizers, if any, a chance to run - gosched() + Gosched() } }