]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: remove stack barriers
authorAustin Clements <austin@google.com>
Thu, 9 Feb 2017 19:03:49 +0000 (14:03 -0500)
committerAustin Clements <austin@google.com>
Tue, 14 Feb 2017 15:52:54 +0000 (15:52 +0000)
commitd089a6c7187f1ff85277515405ec6c641588a7ff
tree2eb4d16038ec3ade478a83249cc879898efd5b8b
parentc5ebcd2c8ac6c5bdf85ec0a346974efd4b0cbe49
runtime: remove stack barriers

Now that we don't rescan stacks, stack barriers are unnecessary. This
removes all of the code and structures supporting them as well as
tests that were specifically for stack barriers.

Updates #17503.

Change-Id: Ia29221730e0f2bbe7beab4fa757f31a032d9690c
Reviewed-on: https://go-review.googlesource.com/36620
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
24 files changed:
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/asm_arm.s
src/runtime/asm_arm64.s
src/runtime/asm_mips64x.s
src/runtime/asm_mipsx.s
src/runtime/asm_ppc64x.s
src/runtime/asm_s390x.s
src/runtime/extern.go
src/runtime/mbitmap.go
src/runtime/mgc.go
src/runtime/mgcmark.go
src/runtime/mstkbar.go [deleted file]
src/runtime/panic.go
src/runtime/pprof/pprof_test.go
src/runtime/proc.go
src/runtime/runtime1.go
src/runtime/runtime2.go
src/runtime/stack.go
src/runtime/stack_test.go
src/runtime/stubs.go
src/runtime/trace.go
src/runtime/traceback.go