runtime/debug: add controls for garbage collector

Fixes #4090.

R=golang-dev, iant, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/7229070
This commit is contained in:
Russ Cox 2013-02-04 00:00:55 -05:00
parent 6b4cf2b367
commit 472354f81e
8 changed files with 325 additions and 34 deletions

View file

@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package debug
package debug_test
import (
. "runtime/debug"
"strings"
"testing"
)