diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-25 20:59:52 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-25 20:59:52 +0400 |
| commit | b83d8bd0b85ff8b60a113bac841bfaf4cce52e3c (patch) | |
| tree | 9f6997d8ab9547979ab262d98eee804f5a6da46f /src/pkg/runtime/heapdump.c | |
| parent | 4064d5e9a3dce1b88866f1364a94a02f13db6162 (diff) | |
| download | go-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.c | 2 |
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); |
