1
0
mirror of https://github.com/golang/go synced 2024-11-24 00:50:10 -07:00
go/src
Austin Clements e25ef35254 runtime: don't disable GC work caching during mark termination
Currently, we disable GC work caching during mark termination. This is
no longer necessary with the new mark completion detection because

1. There's no way for any of the GC mark termination helpers to have
any real work queued and,

2. Mark termination has to explicitly flush every P's buffers anyway
in order to flush Ps that didn't run a GC mark termination helper.

Hence, remove the code that disposes gcWork buffers during mark
termination.

Updates #26903. This is a follow-up to eliminating mark 2.

Change-Id: I81f002ee25d5c10f42afd39767774636519007f9
Reviewed-on: https://go-review.googlesource.com/c/134320
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
2018-10-02 20:35:23 +00:00
..
archive
bufio
builtin
bytes bytes, strings: add ReplaceAll 2018-09-26 20:51:23 +00:00
cmd cmd/compile: instrinsify math/bits.Mul on ppc64x 2018-10-02 18:56:06 +00:00
compress Revert "compress: move benchmark text from src/testdata to src/compress/testdata" 2018-10-01 16:16:21 +00:00
container
context
crypto all: remove repeated "the" from comments 2018-09-28 08:46:55 +00:00
database/sql database/sql: correctly report MaxIdleClosed stat 2018-10-02 19:24:37 +00:00
debug
encoding all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
errors
expvar
flag all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
fmt
go go/build, runtime/internal/sys: add GOOS=aix 2018-09-28 13:45:09 +00:00
hash
html all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
image image: optimize bounds checking for At and Set methods 2018-10-01 19:16:00 +00:00
index/suffixarray
internal
io
log
math
mime all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
net net/http: document Header.Set canonicalizes the header key 2018-10-02 17:07:42 +00:00
os os: use FILE_FLAG_OPEN_REPARSE_POINT in SameFile 2018-09-29 04:02:38 +00:00
path path/filepath: fix Windows-specific Clean bug 2018-09-29 04:26:02 +00:00
plugin
reflect reflect: fix s390x reflect method calls 2018-09-30 20:30:55 +00:00
regexp
runtime runtime: don't disable GC work caching during mark termination 2018-10-02 20:35:23 +00:00
sort
strconv
strings all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
sync sync: simplify (*entry).tryStore 2018-09-27 21:44:20 +00:00
syscall
testdata Revert "compress: move benchmark text from src/testdata to src/compress/testdata" 2018-10-01 16:16:21 +00:00
testing all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
text all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
time
unicode
unsafe
vendor/golang_org/x
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc