aboutsummaryrefslogtreecommitdiff
path: root/src/os/executable_procfs.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-11-28 12:18:29 -0800
committerIan Lance Taylor <iant@golang.org>2016-11-28 21:52:15 +0000
commitf7c351bdf6c8a70c90aac132194a9df390d002e0 (patch)
treed2f527dab7ac3bcf1c228a65806844b4d575b8a4 /src/os/executable_procfs.go
parent993214a083d47afba7ba0ecf85ce5f35b1685358 (diff)
downloadgo-f7c351bdf6c8a70c90aac132194a9df390d002e0.tar.xz
internal/pprof: don't discard allocations called by reflect.Call
The pprof code discards all heap allocations made by runtime routines. This caused it to discard heap allocations made by functions called by reflect.Call, as the calls are made via the functions `runtime.call32`, `runtime.call64`, etc. Fix the profiler to retain these heap allocations. Fixes #18077. Change-Id: I8962d552f1d0b70fc7e6f7b2dbae8d5bdefb0735 Reviewed-on: https://go-review.googlesource.com/33635 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/executable_procfs.go')
0 files changed, 0 insertions, 0 deletions