aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/heapdump.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-08-25 20:59:52 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-08-25 20:59:52 +0400
commitb83d8bd0b85ff8b60a113bac841bfaf4cce52e3c (patch)
tree9f6997d8ab9547979ab262d98eee804f5a6da46f /src/pkg/runtime/heapdump.c
parent4064d5e9a3dce1b88866f1364a94a02f13db6162 (diff)
downloadgo-b83d8bd0b85ff8b60a113bac841bfaf4cce52e3c.tar.xz
runtime: remove dedicated scavenger thread
A whole thread is too much for background scavenger that sleeps all the time anyway. We already have sysmon thread that can do this work. Also remove g->isbackground and simplify enter/exitsyscall. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews, khr, rlh https://golang.org/cl/108640043
Diffstat (limited to 'src/pkg/runtime/heapdump.c')
-rw-r--r--src/pkg/runtime/heapdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/heapdump.c b/src/pkg/runtime/heapdump.c
index 3fc54aedbc..1a38087c8d 100644
--- a/src/pkg/runtime/heapdump.c
+++ b/src/pkg/runtime/heapdump.c
@@ -406,7 +406,7 @@ dumpgoroutine(G *gp)
dumpint(gp->gopc);
dumpint(gp->status);
dumpbool(gp->issystem);
- dumpbool(gp->isbackground);
+ dumpbool(false); // isbackground
dumpint(gp->waitsince);
dumpstr(gp->waitreason);
dumpint((uintptr)gp->sched.ctxt);