]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.11] runtime: skip stack barrier copy when there are no pointers
authorInada Naoki <songofacandy@gmail.com>
Wed, 26 Dec 2018 15:47:20 +0000 (00:47 +0900)
committerKatie Hockman <katie@golang.org>
Fri, 4 Jan 2019 20:47:36 +0000 (20:47 +0000)
commitc36b5322a7bcb268fa7a4b5ef67ce807745745a9
treeab5484337998368997132e1cfac9e8f305efeee6
parentb2c472f91e9ad8e8a302ad9fc963d4875bdfbae0
[release-branch.go1.11] runtime: skip stack barrier copy when there are no pointers

After CL 31455, "go fun(n)" may put "n" to write barrier buffer
when there are no pointers in fun's arguments.

Updates #29565

Change-Id: Icfa42b8759ce8ad9267dcb3859c626feb6fda381
Reviewed-on: https://go-review.googlesource.com/c/155779
Reviewed-by: Keith Randall <khr@golang.org>
(cherry picked from commit 5372257e600989ab4cf742b35e3fa649cad3f45c)
Reviewed-on: https://go-review.googlesource.com/c/156357
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/proc.go