From b2c43438d20bafda5c6fee777342371d1685e5cc Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Mon, 25 Aug 2014 23:30:39 +0400 Subject: 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 --- src/pkg/runtime/runtime.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pkg/runtime/runtime.c') 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 -- cgit v1.3-5-g9baa