Descriptionsyscall: mark arguments to Syscall as noescape
Heap arguments to "async" syscalls will break when/if we have moving GC anyway.
With this change is must not break until moving GC, because a user must
reference the object in Go to preserve liveness. Otherwise the code is broken already.
Reduces number of leaked params from 125 to 36 on linux.
Patch Set 1 #Patch Set 2 : diff -r 176779a4ebed https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r d5dbdcc7f614 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r 322f646feecb https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 5 : diff -r 322f646feecb https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 6 : diff -r aa175510e89e https://dvyukov%40google.com@code.google.com/p/go/ #
MessagesTotal messages: 11
|