aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-09-09 10:22:10 -0400
committerAustin Clements <austin@google.com>2016-10-03 21:59:54 +0000
commit38f1df66ff231458a81cb07e7b147f30854b45d4 (patch)
tree8785e744cbe14e0a70ebc1d0543a939966a75e63 /src/encoding/json/encode.go
parent6879dbde4e6dceceb272b83fc6682e97b9de2fa1 (diff)
downloadgo-38f1df66ff231458a81cb07e7b147f30854b45d4.tar.xz
runtime: make gcDumpObject useful on stack frames
gcDumpObject is often used on a stack pointer (for example, when checkmark finds an unmarked object on the stack), but since stack spans don't have an elemsize, it doesn't print any of the memory from the frame. Make it at least slightly more useful by printing everything between obj and obj+off (inclusive). While we're here, also print out the span state. Change-Id: I51be064ea8791b4a365865bfdc7afa7b5aaecfbd Reviewed-on: https://go-review.googlesource.com/30142 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions