You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sent out for review. complete output for 'go tool compile -m' on the example input above:
dottype_esc.go:3: can inline setPointer
dottype_esc.go:7: can inline main
dottype_esc.go:9: inlining call to setPointer
dottype_esc.go:3: setPointer p does not escape
dottype_esc.go:3: setPointer v does not escape
dottype_esc.go:9: main &i does not escape
dottype_esc.go:9: main 1 does not escape
What version of Go are you using (
go version
)?go version devel +cdcb827 Wed May 18 04:43:32 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/tshprecher/Workspace/go"
GORACE=""
GOROOT="/Users/tshprecher/Workspace/golang"
GOTOOLDIR="/Users/tshprecher/Workspace/golang/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
What did you do?
This is a followup to runtime: scalability problem with allocation #13805. I made this fix for the ODOTTYPE node type, but not for ODOTTYPE2.
input:
What did you expect to see?
dottype_esc.go:9: main 1 does not escape
What did you see instead?
dottype_esc.go:9: 1 escapes to heap
The text was updated successfully, but these errors were encountered: