]> Cypherpunks repositories - gostls13.git/commit
runtime: move concurrent mark setup off system stack
authorAustin Clements <austin@google.com>
Sun, 25 Oct 2015 01:19:52 +0000 (21:19 -0400)
committerAustin Clements <austin@google.com>
Thu, 5 Nov 2015 21:23:11 +0000 (21:23 +0000)
commit384259628460f9975471332a0618d5bffa40507d
tree3e42e5d589850e3214165180d1d1fecaa08a4edf
parent19596215844dabd6318f460d5b179b35e54748af
runtime: move concurrent mark setup off system stack

For historical reasons we currently do a lot of the concurrent mark
setup on the system stack. In fact, at this point the one and only
thing that needs to happen on the system stack is the start-the-world.

Clean up this code by lifting everything other than the
start-the-world off the system stack.

The diff for this change looks large, but the only code change is to
narrow the systemstack call. Everything else is re-indentation.

Change-Id: I1e03b8afc759fad726f2397b05a17d183c2713ce
Reviewed-on: https://go-review.googlesource.com/16354
Reviewed-by: Rick Hudson <rlh@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/mgc.go