diff options
author | Austin Clements <austin@google.com> | 2016-10-11 22:58:21 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2016-10-15 17:58:20 +0000 |
commit | 1bc6be6423e48318451a0faeaae840772137b001 (patch) | |
tree | 013de581e0dd5d1a65aac79b665b41afd5cb3586 /src/runtime/mcentral.go | |
parent | 991a85c88944e9cb92c4860c173f49d549a92845 (diff) | |
download | go-1bc6be6423e48318451a0faeaae840772137b001.tar.gz go-1bc6be6423e48318451a0faeaae840772137b001.zip |
runtime: mark several types go:notinheap
This covers basically all sysAlloc'd, persistentalloc'd, and
fixalloc'd types.
Change-Id: I0487c887c2a0ade5e33d4c4c12d837e97468e66b
Reviewed-on: https://go-review.googlesource.com/30941
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/runtime/mcentral.go')
-rw-r--r-- | src/runtime/mcentral.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/mcentral.go b/src/runtime/mcentral.go index 7b63110460..ddcf81ebb1 100644 --- a/src/runtime/mcentral.go +++ b/src/runtime/mcentral.go @@ -15,6 +15,8 @@ package runtime import "runtime/internal/atomic" // Central list of free objects of a given size. +// +//go:notinheap type mcentral struct { lock mutex sizeclass int32 |