mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: add and use runtime/internal/sys.NotInHeap
Updates #46731 Change-Id: Ic2208c8bb639aa1e390be0d62e2bd799ecf20654 Reviewed-on: https://go-review.googlesource.com/c/go/+/421878 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
This commit is contained in:
parent
833367e98a
commit
a719a78c1b
19 changed files with 133 additions and 125 deletions
|
|
@ -1196,8 +1196,6 @@ func (t *SemTable) Dequeue(addr *uint32) bool {
|
|||
}
|
||||
|
||||
// mspan wrapper for testing.
|
||||
//
|
||||
//go:notinheap
|
||||
type MSpan mspan
|
||||
|
||||
// Allocate an mspan for testing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue