1
0
mirror of https://github.com/golang/go synced 2024-09-29 16:24:28 -06:00
go/api/next/48409.txt
Michael Anthony Knyszek f01c20bf2b runtime/debug: export SetMemoryLimit
This change also adds an end-to-end test for SetMemoryLimit as a
testprog.

Fixes #48409.

Change-Id: I102d64acf0f36a43ee17b7029e8dfdd1ee5f057d
Reviewed-on: https://go-review.googlesource.com/c/go/+/397018
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-05-03 15:14:09 +00:00

2 lines
59 B
Plaintext

pkg runtime/debug, func SetMemoryLimit(int64) int64 #48409