aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-08-25 23:30:39 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-08-25 23:30:39 +0400
commitb2c43438d20bafda5c6fee777342371d1685e5cc (patch)
treef2ade2e714994c2dd5ecac1dba9a9ae4fb9a047b /src/pkg/runtime/runtime.c
parent21a4bdef2fa2ae5425c8d309a8e914e3e514c30a (diff)
downloadgo-b2c43438d20bafda5c6fee777342371d1685e5cc.tar.xz
runtime: restore scavenger constants
Once and for all. Broken in cl/108640043. I've messed it before. To test scavenger-related changes one needs to alter the constants during final testing. And then it's very easy to submit with the altered constants. LGTM=rsc R=golang-codereviews CC=golang-codereviews, rsc https://golang.org/cl/136720044
Diffstat (limited to 'src/pkg/runtime/runtime.c')
-rw-r--r--src/pkg/runtime/runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c
index 275fffb347..b1960088da 100644
--- a/src/pkg/runtime/runtime.c
+++ b/src/pkg/runtime/runtime.c
@@ -302,6 +302,7 @@ runtime·tickspersecond(void)
return res;
}
+#pragma dataflag NOPTR
DebugVars runtime·debug;
static struct {
@@ -314,6 +315,7 @@ static struct {
{"gcdead", &runtime·debug.gcdead},
{"scheddetail", &runtime·debug.scheddetail},
{"schedtrace", &runtime·debug.schedtrace},
+ {"scavenge", &runtime·debug.scavenge},
};
void