]> Cypherpunks repositories - gostls13.git/commit
runtime: don't assume arena is in address order
authorAustin Clements <austin@google.com>
Thu, 22 Feb 2018 17:30:27 +0000 (12:30 -0500)
committerAustin Clements <austin@google.com>
Fri, 23 Feb 2018 21:59:47 +0000 (21:59 +0000)
commit9680980efe66fc91d838fa9a06077f6ee87f0759
tree1831d06e62c06fc8aa44df5d58b62616430cc3cf
parentb86e76681366447798c94abb959bb60875bcc856
runtime: don't assume arena is in address order

On amd64, the arena is no longer in address space order, but currently
the heap dumper assumes that it is. Fix this assumption.

Change-Id: Iab1953cd36b359d0fb78ed49e5eb813116a18855
Reviewed-on: https://go-review.googlesource.com/96776
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/heapdump.go