aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/xml
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2015-02-12 15:22:49 -0500
committerAustin Clements <austin@google.com>2015-02-13 15:34:39 +0000
commit15c9a2ef4e2ba914c330eca8e86c6b6166986d27 (patch)
treeb7bd03abce514581f593ae30ef6e9a2d8eb29b48 /src/encoding/xml
parent1ac65f82adf00f6af925a266b9c8282325b3c39f (diff)
downloadgo-15c9a2ef4e2ba914c330eca8e86c6b6166986d27.tar.xz
runtime: eliminate drainworkbufs from scanblock
scanblock is only called during _GCscan and _GCmarktermination. During _GCscan, scanblock didn't call drainworkbufs anyway. During _GCmarktermination, there's really no point in draining some (largely arbitrary) amount of work during the scanblock, since the GC is about to drain everything anyway, so simply eliminate this case. Change-Id: I7f3c59ce9186a83037c6f9e9b143181acd04c597 Reviewed-on: https://go-review.googlesource.com/4783 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/encoding/xml')
0 files changed, 0 insertions, 0 deletions