mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: enable -d=zerocopy by default
Fixes #2205. Change-Id: Ib0802fee2b274798b35f0ebbd0b736b1be5ae00a Reviewed-on: https://go-review.googlesource.com/c/go/+/520600 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
This commit is contained in:
parent
925d2fb36c
commit
d63c88d695
3 changed files with 3 additions and 2 deletions
|
|
@ -181,6 +181,7 @@ func ParseFlags() {
|
|||
Debug.PGOInline = 1
|
||||
Debug.PGODevirtualize = 1
|
||||
Debug.SyncFrames = -1 // disable sync markers by default
|
||||
Debug.ZeroCopy = 1
|
||||
|
||||
Debug.Checkptr = -1 // so we can tell whether it is set explicitly
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue