-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Open
Labels
Performancecompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
go version devel +33c3477039 Tue Apr 18 03:56:16 2017 +0000 linux/amd64
sync_runtime_procPin
is marked with //go:linkname sync_runtime_procPin sync.runtime_procPin
. Runtime marks it as inlinable (which is good). However, sync fails to inline it with cannot inline runtime_canSpin: no function body
.
There are more functions exposed from runtime to sync, sync/atomic, reflect, time, os.
Can we inline them?
valyala, tmthrgd, navytux, ugorji and cristalolegcristaloleg
Metadata
Metadata
Assignees
Labels
Performancecompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.