- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for setMemoryLimit (0.12 sec)
-
src/runtime/mgcpacer.go
if in >= 0 { c.memoryLimit.Store(in) } return out } //go:linkname setMemoryLimit runtime/debug.setMemoryLimit func setMemoryLimit(in int64) (out int64) { // Run on the system stack since we grab the heap lock. systemstack(func() { lock(&mheap_.lock) out = gcController.setMemoryLimit(in) if in < 0 || out == in { // If we're just checking the value or not changing
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0)