1
0
mirror of https://github.com/golang/go synced 2024-11-19 21:04:43 -07:00
go/src/runtime/pprof
Dmitry Vyukov 3c3848ad92 runtime: fix system memory allocator on plan9
The following line in sysFree:
n += (n + memRound) &^ memRound
doubles value of n (n += n).
Which is wrong and can lead to memory corruption.

Fixes #9712

Change-Id: I3c141b71da11e38837c09408cf4f1d22e8f7f36e
Reviewed-on: https://go-review.googlesource.com/3602
Reviewed-by: David du Colombier <0intro@gmail.com>
2015-01-30 12:01:31 +00:00
..
mprof_test.go runtime/pprof: fix memory profiler test 2014-10-17 21:28:47 +04:00
pprof_test.go runtime/pprof: ignore CPU profile test failures in QEMU 2015-01-20 18:15:06 +00:00
pprof.go runtime/pprof: add tracing support 2015-01-28 16:40:35 +00:00
trace_parser_test.go runtime: fix trace ticks frequency on windows 2015-01-30 08:35:38 +00:00
trace_test.go runtime: fix system memory allocator on plan9 2015-01-30 12:01:31 +00:00