mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
c5ebcd2c8a
commit
d089a6c718
24 changed files with 32 additions and 1100 deletions
|
|
@ -617,7 +617,6 @@ func recovery(gp *g) {
|
|||
// Make the deferproc for this d return again,
|
||||
// this time returning 1. The calling function will
|
||||
// jump to the standard return epilogue.
|
||||
gcUnwindBarriers(gp, sp)
|
||||
gp.sched.sp = sp
|
||||
gp.sched.pc = pc
|
||||
gp.sched.lr = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue